Debug Menu

The Debug menu holds the commands for stepping through a paused program, for watches and for breakpoints. Running and debugging explains them.

The Debug menu open while a program is paused and the code editor has the focus, every entry available: Step Into, Step Over, Add Watch..., Clear Watches, Toggle Breakpoint, Clear All Breakpoints, Set Next Statement (Jump To Line), and Debugger Options at the foot, marked with a submenu arrow.The Debug menu open while a program is paused and the code editor has the focus, every entry available: Step Into, Step Over, Add Watch..., Clear Watches, Toggle Breakpoint, Clear All Breakpoints, Set Next Statement (Jump To Line), and Debugger Options at the foot, marked with a submenu arrow.

Stepping

Step Into (F8, F11) and Step Over (Shift+F8, F10)
Run the program one statement at a time. They work only while the program is paused. The menu shows the first key of each. There is no Step Out item: the toolbar button and the keys Ctrl+Shift+F8 and Shift+F11 do it. See Step commands.
Set Next Statement (Jump To Line) (Ctrl+F9)
Makes the line that has the caret the next one to run. It works only while the program is paused. See Set Next Statement.

Watches

Add Watch… (Shift+F9)
Opens the WATCHES panel with a box for a new expression, filled with the selected text of the editor. It works whenever a project is open. See Watches.
Clear Watches
Removes every watch, with no confirmation. It has no key.

Breakpoints

Toggle Breakpoint (F9)
Sets or clears a breakpoint at the caret’s line. It works when the focus is in a code editor. See Breakpoints.
Clear All Breakpoints (Ctrl+Shift+F9)
Clears the breakpoints in every file of the project, open or not. It works whenever a project is open.

Debugger Options

The Debug menu with no project open, its other entries greyed out, Debugger Options highlighted and its submenu open to the right, holding three entries: Break On All Errors (this project) and Break On All Errors (inside packages), both unticked, and Allow Breakpoints (Debuggable), ticked.The Debug menu with no project open, its other entries greyed out, Debugger Options highlighted and its submenu open to the right, holding three entries: Break On All Errors (this project) and Break On All Errors (inside packages), both unticked, and Allow Breakpoints (Debuggable), ticked.
A close-up of that submenu on its own: no tick against the two Break On All Errors entries, and a tick against Allow Breakpoints (Debuggable).A close-up of that submenu on its own: no tick against the two Break On All Errors entries, and a tick against Allow Breakpoints (Debuggable).
Break On All Errors (this project)
Turns the project setting Break On All Errors on and off. It is off by default. When it is on, the program stops at an error that an On Error statement would handle, in the project’s own code. See Break On All Errors and Debuggable.
Break On All Errors (inside packages)
Turns the project setting Break On All Errors (packages) on and off. It does the same for errors raised in the code of the packages that the project references, and is off by default.
Allow Breakpoints (Debuggable)
Turns the project setting Debuggable on and off. It is on by default. While it is off, no breakpoint stops the program.