Difference between revisions of "Modules/debug/Settings"

From MSX Game Library

< Modules‎ | debug

Line 1: Line 1:
 
Library configuration (<tt>msxgl_config.h</tt>):
 
Library configuration (<tt>msxgl_config.h</tt>):
 
<syntaxhighlight lang="c">
 
<syntaxhighlight lang="c">
// Profiler method
+
// Debugger and profiler options
// - DEBUG_DISABLE ................ No profiler
+
// - DEBUG_DISABLE ................ No debug or profile feature
// - DEBUG_OPENMSX ................ Support for openMSX default debugger (no profiler)
+
// - DEBUG_EMULICIOUS ............. Debug features for Emulicious
// - DEBUG_OPENMSX_G .............. Grauw profile script for openMSX
+
// - DEBUG_OPENMSX ................ Debug features for openMSX using 'debugdevice' extension
// - DEBUG_OPENMSX_S .............. Salutte profile script for openMSX
+
// - DEBUG_OPENMSX_P .............. Debug features for openMSX using PVM script (tools/script/openMSX/debugger_pvm.tcl)
// - DEBUG_OPENMSX_P .............. PVM debug script for openMSX (no profiler)
+
// - DEBUG_OPENMSX_G .............. Profiler features for openMSX using Grauw script (tools/script/openMSX/profiler_grauw.tcl)
// - DEBUG_EMULICIOUS ............. Profile script for Emulicious
+
// - DEBUG_OPENMSX_S .............. Profiler features for openMSX using Salutte script (tools/script/openMSX/profiler_salutte.tcl)
 
#define DEBUG_TOOL DEBUG_DISABLE
 
#define DEBUG_TOOL DEBUG_DISABLE
 
#define PROFILE_LEVEL 10
 
#define PROFILE_LEVEL 10
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 12:05, 9 May 2024

Library configuration (msxgl_config.h):

// Debugger and profiler options
// - DEBUG_DISABLE ................ No debug or profile feature
// - 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)
// - DEBUG_OPENMSX_G .............. Profiler features for openMSX using Grauw script (tools/script/openMSX/profiler_grauw.tcl)
// - DEBUG_OPENMSX_S .............. Profiler features for openMSX using Salutte script (tools/script/openMSX/profiler_salutte.tcl)
#define DEBUG_TOOL					DEBUG_DISABLE
#define PROFILE_LEVEL				10