Debug

From EDukeWiki
Revision as of 09:40, 6 September 2023 by Doom64hunter (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.