DEBUG

DEBUG

Top  Previous  Next

 

The DEBUG statement enters the interactive debugger.

 

 

Format

 

DEBUG

 

 

The DEBUG statement enters debug mode for the program in which it was executed and all programs called by it. This statement causes a compile time warning but is otherwise ignored if the program is not complied with the DEBUGGING option or use of the $DEBUG compiler directive.

 

 

Example

 

IF @LOGNAME = 'mjones' THEN DEBUG

 

The above statement would enter the debugger if the user running the program is logged is as mjones.

 

 

See also:

QMBasic debugger