Breakpoints Panel
Breakpoints Window
The Breakpoints Window lists all the breakpoints that are currently defined in the workspace. They are displayed using the name of the source file and the line number (relative to the source file) of the breakpoint.
Breakpoints are set by clicking in the left margin of the Code Editor for the specified line of source. A red icon is displayed for enabled breakpoints, and a clear icon is displayed for disabled breakpoints. You can also use the context menu in the editor or press F9 to set breakpoints.
Breakpoints Grid
The grid displays the breakpoints sorted by filename and line number. The following information is listed for each breakpoint:
Name
The Name column displays four pieces of information for each breakpoint:
- Checkbox: The checkbox is checked for each breakpoint that is enabled and unchecked for each breakpoint that is disabled. Check the box with the mouse to change a breakpoint's enabled status.
- Icon: If the breakpoint is enabled, a round red icon is displayed. If the breakpoint is disabled, a round white icon is displayed.
- Filename
- Line Number
Double-click in the Name column to go to the location of a breakpoint in the Code Editor.
Condition
Displays the breakpoint condition expression (if any). When the breakpoint condition expression evaluates to True, then the breakpoint will break execution; otherwise, it does not.
If there is no condition against a breakpoint, then "(not condition)" is displayed in this column. In this case, execution will always break when the breakpoint is encountered.
Double-click in the Condition column to activate the Breakpoint Condition dialog. Use this dialog to enter a breakpoint condition expression.
Source
Displays the source code line corresponding to each breakpoint. This helps to identify the breakpoint without looking up the breakpoint in the Code Editor.
Double-click in the Source column to go to the location of a breakpoint in the Code Editor.
Toolbar / Context Menu
The Breakpoints window supports various operations through its context menu:
Toggle Enabled / Disabled
Depending on the current state of the selected breakpoint, toggles the breakpoint between enabled and disabled state.
- If the selected breakpoint is enabled, the context menu will read Enabled and display a round red icon next to it.
- If the selected breakpoint is disabled, the context menu will read Disabled and display a round white icon next to it.
Keyboard shortcut: Ctrl+F9.
Disable All
Set the state for all breakpoints to disabled.
Enable All
Set the state for all breakpoints to enabled.
Remove Breakpoint
Remove the selected breakpoint.
Keyboard shortcut: F9.
Remove All
Remove all breakpoints in the current workspace.
Keyboard shortcut: Shift+F9.
Remove All Disabled
Removes all the disabled breakpoints.
Go To Source
Find the breakpoint in the appropriate source file and display it in the Code Editor.
Keyboard shortcut: Enter.
Condition...
Apply a Boolean expression to this breakpoint.