Creation | |
| Debug | Creates a new Debug object |
|
Functions | |
| Debug switch | |
| DebugOn | Turns the debug object ON |
| DebugOff | Turns the debug object OFF |
| SetDebug | Turns the debug object ON or OFF |
| IsDebug | Returns TRUE if the debug object is ON |
|
| Dialogues | |
| Message | Displays a message in a simple message box |
| Assert | Displays a message if a given condition is FALSE |
| ResetAssert | If the Assert messages have been turned off at runtime, this re-enables them |
|
| Console | |
| OpenConsole | Opens a console for the game |
| WriteToConsole | Writes text to the game console |
| WriteLnToConsole | Writes a line of text to the game console |
| ClearConsole | Clears the game console |
| CloseConsole | Closes the game console |
|
| Realtime debug | |
| SetRealtimeDebug | Turns on or off the realtime information on the game |
| SetRealtimeDebugPos | Sets the position of the realtime debug text |
| IsRealtimeDebug | Returns TRUE if realtime debug is on |
|
| Network debug | |
| SetNetworkDebug | Turns on or off the network debug information in the console |
| IsNetworkDebug | Returns TRUE if network debug is on |
|
| Log files | |
| SetOutFile | Sets the target file to save log files to |
| GetOutFile | Returns the target file where logs are saved |
| RecordAll | Records information about every object in the game, and optionally saves the data |
| AppendData | Adds data to the end of the current log file |
| ObjectInfo | Returns a string containing information about the given object |
| GlobalsInfo | Returns a string containing information about the current frame |
| SaveData | Saves the current log file |
| Clear | Resets the current log file to be blank |
| SetAutoLog | Turns auto logging ON or OFF |
|
| Collision mask | |
| ShowMask | Sets the JAM object to display the collision mask when refreshing |
| HideMask | Turns off the visual collision mask |
|
| Debug break | |
| DebugBreak | Shows a message and pauses the game |