Difference between revisions of "Modules/debug/Settings"
From MSX Game Library
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | === Debug === | ||
Library configuration (<tt>msxgl_config.h</tt>): | Library configuration (<tt>msxgl_config.h</tt>): | ||
<syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> | ||
− | // | + | // Debugger options |
− | // - DEBUG_DISABLE ................ No | + | // - DEBUG_DISABLE ................ No debug tool |
− | // - DEBUG_OPENMSX ................ | + | // - DEBUG_EMULICIOUS ............. Debug features for Emulicious |
− | // - | + | // - DEBUG_OPENMSX ................ Debug features for openMSX using 'debugdevice' extension |
− | // - | + | // - DEBUG_OPENMSX_P .............. Debug features for openMSX using PVM script (tools/script/openMSX/debugger_pvm.tcl) |
− | // - | + | #define DEBUG_TOOL DEBUG_DISABLE |
− | // - | + | |
− | #define | + | // Profiler options |
− | #define PROFILE_LEVEL | + | // - PROFILE_DISABLE .............. No profile tool |
+ | // - PROFILE_OPENMSX_G ............ Profiler features for openMSX using Grauw script (tools/script/openMSX/profiler_grauw.tcl) | ||
+ | // - PROFILE_OPENMSX_S ............ Profiler features for openMSX using Salutte script (tools/script/openMSX/profiler_salutte.tcl) | ||
+ | #define PROFILE_TOOL PROFILE_DISABLE | ||
+ | #define PROFILE_LEVEL 10 | ||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 23:21, 18 September 2024
Debug
Library configuration (msxgl_config.h):
// Debugger options // - DEBUG_DISABLE ................ No debug tool // - DEBUG_EMULICIOUS ............. Debug features for Emulicious // - DEBUG_OPENMSX ................ Debug features for openMSX using 'debugdevice' extension // - DEBUG_OPENMSX_P .............. Debug features for openMSX using PVM script (tools/script/openMSX/debugger_pvm.tcl) #define DEBUG_TOOL DEBUG_DISABLE // Profiler options // - PROFILE_DISABLE .............. No profile tool // - PROFILE_OPENMSX_G ............ Profiler features for openMSX using Grauw script (tools/script/openMSX/profiler_grauw.tcl) // - PROFILE_OPENMSX_S ............ Profiler features for openMSX using Salutte script (tools/script/openMSX/profiler_salutte.tcl) #define PROFILE_TOOL PROFILE_DISABLE #define PROFILE_LEVEL 10