#Debug Object

Lets you more easily debug your programs.

Methods

Method Print ( message As String )
Method PrintLine ( message As String )
Shows some text in the debugger. Typically this is the value of a variable, to make sure it is correct.
Method Assert ( test As Boolean, Optional message As String )
TBD
Method Log ( message As String )
Method LogInfo ( message As String )
Method LogWarning ( message As String )
Method LogError ( message As String )
Method LogFatal ( message As String )
Writes information to the log file.
Method Run
Causes the debugger to start executing the code at full speed.
Method Stop
Causes the debugger to stop execution, almost the same as a breakpoint.

Instructions

Only debug builds cause #Debug to operate fully. Release builds ignore #Debug, the same as a comment.

Examples

TODO2

See also