debug_toggle_debug_generation_.htm
Navigation: Templates > Template Language Reference > Complete Alpha Listing >====== #DEBUG (toggle debug generation) ![]() | ![]() ![]() ![]() |
#DEBUG( value )
#DEBUG | Toggles debug generation on and off. |
value | A symbol containing zero (0) or one(1). When zero, debug generation is turned off. When one, debug generation is turned on. |
The #DEBUG statement toggles debug generation on and off, and overrides the Debug Generation setting in the Application Options dialog. When this is checked, #DEBUG controls the specific sections to output to the text file, so the file can be restricted to a manageable size.
Example:
#SET(%DebugSet,1)
#DEBUG(%DebugSet) #!Set debug generation on
IF Action = 1 #<;!If adding a record
SomeVariable = InitVariable
END
#SET(%DebugSet,0)
#DEBUG(%DebugSet) #!Set debug generation off
debug_toggle_debug_generation_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1