Open main menu

Difference between revisions of "Debugging ScummVM"

2 bytes added ,  03:03, 7 November 2010
m
Minor corrections for spelling etc.
(Improved Documentation For Debugging.)
m (Minor corrections for spelling etc.)
Line 4: Line 4:


The debuglevel is a global single integer which varies between -1 (minimum - default) and 11 (maximum).<br>
The debuglevel is a global single integer which varies between -1 (minimum - default) and 11 (maximum).<br>
This parameter indicates increasing verbosity of debug output, but does not seperate by function.<br>
This parameter indicates increasing verbosity of debug output, but does not separate by function.<br>
This is set by passing the command line parameter, -d <int> to scummvm at runtime.<br>
This is set by passing the command line parameter, -d <int> to scummvm at runtime.<br>


Line 16: Line 16:


Most of the ScummVM engines implement the debug console.<br>
Most of the ScummVM engines implement the debug console.<br>
The key combination to open this is CTRL-d (though this can be vary by engine if it conflicts with gameplay - See README).<br>
The key combination to open this is CTRL-d (though this can be varied by engine if it conflicts with gameplay - See README).<br>
<br>
<br>
The default console provides the following default commands :<br>
The default console provides the following default commands :<br>
* help : Display the list of available commands<br>
* help : Display the list of available commands<br>
* quit : Exit the debug console<br>
* exit : Exit the debug console<br>
* debugflag_list : list the available debug flags and their status<br>
* debugflag_list : list the available debug flags and their status<br>
* debugflag_enable <debugflag> : enable a given debugflag<br>
* debugflag_enable <debugflag> : enable a given debugflag<br>
TrustedUser
574

edits