Debug: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
Update description with actual use.
Line 1: Line 1:
'''debug''' <number>
'''debug''' <number>


Prints <number> to the game log file. This has little to no use. The [[echo]] command may be a better substitute.
Prints <number> to the game log file and triggers a breakpoint.
 
Only useful for debugging if the process is attached to debugger like gdb.


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]

Revision as of 07:34, 6 September 2023

debug <number>

Prints <number> to the game log file and triggers a breakpoint.

Only useful for debugging if the process is attached to debugger like gdb.