Syntax:
Then: DEBUG ON
Then: DEBUG OFF
Version Ref: 3.x
Description:
Turns the runtime debugger on or off from within a processing table.
Examples:
One way to use the command is to set a flag. For example, if you type "Y" in a debug-on yes/ no field, the program turns it on:
@wef12 If:
Then: input db(1,yesno) "Debugger on?"
If: db eq "Y"
Then: debug on
Then: end
IMPORTANT: The debugger will continue to operate until you turn it off. For example:
@wef13 If:
Then: debug off; end
Test certain parts of a "live" system. in such a way that only you see the debugger, others work normally.
@wlf14 If: @id eq "root"
Then: debug on
Turn on the debugger if a value is not "right".
If: aa ne "right value"
Then: debug on