[Scummvm-devel] New engine specific debug levels

Johannes Schickel lordhoto at gmail.com
Tue Feb 14 15:55:00 CET 2006


Hi,

for a short introduction how to use the new engine specific debug
levels look at:
http://wiki.scummvm.org/index.php/HOWTO-Engines

Also you can take a look at the kyra engine for how they are used.
(Interessting there is the construktor where the debug levels are set up
and most of the functions which use debugC also the "kDebugLevels"
enum in engines/kyra/kyra.h).

To enable a debug level from the debugger use:
--debugflags=level,anotherlevel,and_so_on
that would enable then 'level','anotherlevel' and 'and_so_on'
Also the debug levels can be enabled in the debugger.
Take a look at the commands: 'debugflag_list', 'debugflag_enable' and
'debugflag_disable'
debugflag_list lits all registered debug levels
debugflag_enable enables a single debug flag (no list can be used here for now)
debugflag_disable disables a single debug flag



More information about the Scummvm-devel mailing list