b

b


?! Index Level c{!}
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  
Category BASIC Debugger
Type Command
Description establishes a "breakpoint" condition in the break point table, which causes the program to enter the FlashBASIC 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 D3 releases with FlashBASIC. It breaks into the debugger each time the specified variable changes.

Also, note that a breakpoint set at a non-executable comment line will be ignored by the FlashBASIC debugger.
Options
See Also k d k DEBUG debugger n t /
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.
Warnings In R83 systems, up to 4 FlashBASIC breakpoints may be established.

Invoking the FlashBASIC debugger slows down the run time execution of the program.

The "Flash.routine.name" can only be specified if the program has been optimized through the FlashBASIC compiler (see the "o" option under the "compile" command). When a "Flash.routine.name" is specified, the corresponding debugger command is executed against the specified routine. The ":" (colon) separating the "Flash.routine.name" and the debugger command is required.
Compatibility D3 7.0 AP R83 AP 6.0 FlashBASIC
?! Index Level c{!}