Lets you insert and remove breakpoints in programs for debugging.
line Specify either a line number (integer) or a procedure/function name (string). If you specify a line number, the breakpoint is set at that line. If you specify a procedure or function name, the breakpoint is set at the beginning of the procedure or function.
Clear Removes the breakpoint specified by its index, or by the file and line parameters. If only one input parameter is specified, it is interpreted as an index identifying the currently set breakpoint. If two input parameters are specified, they are interpreted as the file and line of the currently set breakpoint.
Set Sets a breakpoint in the specified file at the specified line number.
Once a breakpoint has stopped execution, use .CON to continue execution.
Use
INFO, /Breakpoint
to display the breakpoint table, which gives the index, module, line number, and file location of each breakpoint.
BREAKPOINT, /Clear, 3
BREAKPOINT, /Clear, 'test.pro', 8
xyz.pro
:
BREAKPOINT, 'xyz.pro', 23
BREAKPOINT, /Set, 'xyz.pro', 23