Trap menu

This menu allows the setting and clearing of breakpoints

Trap menu

Set Trap on Statement

Sets a breakpoint on the current statement. This will be shown in the editor by a red dot in the left margin. If a breakpoint already exists then it is removed. You can also do this by clicking in the margin with the mouse or by pressing B when in debug mode.

Set Trap on Variable

Sets a trap on the selected variable or subroutine label. Execution will stop and control will be returned to the debugger when next that variable is referenced in the program.

Enable all Traps

Enables all disabled traps.

Disable all Traps

Disables all traps. The disabled traps will appear as grey instead of red blobs.

Clear all Traps

Removes all active breakpoints from both the global and foreground partitions.