Viewing Breakpoints and Watchpoints

Use the Breakpoints view (Figure 1) to examine a project's breakpoints and watchpoints, toggle individual breakpoints between enabled and disabled, set conditional breakpoints, export and import breakpoints, or remove them from one or more build configurations.

The Breakpoints view is available in the Debug perspective by default. To open it in another perspective, use the Window > Show View > Breakpoints menu option. Once open you have control over breakpoint states and how they are shown. For example:

Figure 1 - Breakpoints view showing context menu

Breakpoints view toolbar icons

The following commands appear on the toolbar within the Breakpoints view:

Item Icon Explanation
Remove Selected Breakpoint
Removes the selected breakpoint from the breakpoints list.
Remove All Breakpoints
Removes all breakpoints from the breakpoints list.
Show Breakpoints Supported by Selected Target
Limits the breakpoints shown to only those supported in the current target.
Go to File for Breakpoint
Displays the breakpoint in an editor view, opening the source file if required.
Skip All Breakpoints
Toggles the debugger to skip all breakpoints regardless of their current enabled or disabled state, or hit all breakpoints.
Expand All
Expand all matches in the hierarchical view.
Collapse All
Collapse all matches in the hierarchical view.
Link with Debug View
When enabled, the breakpoint shown in the editor view is also highlighted in the Breakpoints view. When disabled, the breakpoint selected in the Breakpoints view does not change.
Menu

Click to display additional Breakpoints view options for paths, grouping choices, and working sets as shown below.

Breakpoints view context menu options

The following commands appear on the context menu when you right-click within the Breakpoints view:

Item Explanation
Go to File Opens the associated file for the breakpoint in an editor, make it active and highlight the breakpoint location. If the file is already open, make it active and the highlight the breakpoint location.
Enable Enables the selected breakpoints.
Disable Disables the selected breakpoints.
Remove Removes the selected breakpoints from the project and Breakpoints view.
Remove All Removes all breakpoints from the project and Breakpoints view.
Select All Selects all the breakpoints shown in the Breakpoints view.
Copy Copies the selected breakpoint to the clipboard.
Paste Always disabled.
Export Breakpoints Opens the Export Breakpoints wizard to store the project's breakpoint data.
Import Breakpoints Opens the Import Breakpoints wizard to import stored breakpoint data (.bkpt).
Add Watchpoint (C/C++)...  
Properties Opens the Properties for Breakpoint dialog.

Other references