DebugMsgSet
- Last UpdatedJul 18, 2023
- 1 minute read
Enables/disables the DebugMsg() logging functionality. It also controls whether logging is enabled for the Assert() function. This function also sets the [Code]DebugMessage parameter appropriately.
Syntax
DebugMsgSet(nMode)
nMode:
The logging mode:
0 - Disable logging.
1 - Enable logging.
Return Value
0 (zero) if successful, otherwise an error code is returned.
Related Functions
Example
Buttons
|
Text |
Debug Enable |
|
Command |
DebugMsgSet(1) |
|
Comment |
Enable debug logging |