debug Statement

The debug statement temporarily suspends execution of a FlashBASIC or BASIC program and invokes the FlashBASIC or BASIC debugger.

Syntax

debug

Description

The program can also be run with the d option, or, if cataloged, activated with a d option.

The g command in the FlashBASIC or BASIC debugger returns control to the FlashBASIC or BASIC program and continues execution at the next executable statement in the program.

Example(s)

crt ’command ’:

input response

if response = "d" then debug

See Also

? Command, b Command, BASIC/FlashBASIC Debugger, break Statement, break-key Command, break-key-off Macro, break-key-on Macro, brk-debug Command, brk-level Command, catalog Command, d Command, end Command, execute Statement, g Command, k Command, off Command, run Command, Statements and Functions, t Command