basic.debugger.b Command/BASIC: Debugger

basic.debugger.b

Command basic.debugger.b Command/BASIC: Debugger
Applicable release versions: AP, R83, AP 6.0 FlashBASIC
Category BASIC: Debugger (38)
Description establishes a "breakpoint" condition in the break point table, which causes the program to enter the FlashBASIC or Pick/BASIC the debugger when the condition defined in the breakpoint expression is met.

The valid comparative operators are >,<, and =.

A "+" (plus) character is displayed for each breakpoint successfully entered into the table until the table is full. In FlashBASIC, there is no limit to the number of table entries.

Note that the spaces between the arguments in the syntax are there for readability; they are NOT allowed when composing breakpoints.

Once a breakpoint is placed in the table, the debugger is entered each time the breakpoint is met.

Note that the syntax form, "bvariable", is only supported in Advanced Pick releases with FlashBASIC. It breaks into the debugger each time the specified variable changes.
Syntax {Flash.routine.name:}b
{Flash.routine.name:}b variable operator variable
{Flash.routine.name:}b variable operator numeric.literal
{Flash.routine.name:}b variable operator "literal.string"
{Flash.routine.name:}b variable
{Flash.routine.name:}b $operator line.number
Options
Example
run bp fred (d
*E1
*b$=5

This sets a break point on line 5.  The break point remains until execution is 
complete, or it is manually removed.

*sally:b

When running FlashBASIC, this command will set a breakpoint that will cause 
execution to pause every time the subroutine "sally" is entered.
Purpose
Related system.debugger.k
basic.debugger.d
basic.debugger.k
basic.debug
basic.debugger.overview
basic.debugger.n
basic.debugger.t
basic.debugger.variable.references