Debug

From EDukeWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

debug <number>

Prints <number> to the game log file and triggers a breakpoint if the binary has been compiled with `RELEASE=0`.

Only useful for debugging if the process is attached to a debugger like gdb. If not attached to a debugger, the game will simply close upon encountering the instruction.