A list of all breakpoints (for all debug sessions) is displayed
in the Breakpoints view, unless you use the filter by
debug target action. To filter out breakpoints that are not related to the
current debug session, click the Breakpoints view Show
Breakpoints Supported by Selected Target push button (). To link the Breakpoints view
with the Debug view, click the Link with Debug
view toggle (
). When this toggle is selected, only those breakpoints
that are associated with the selected debug target in the Debug view
will be displayed in the Breakpoints view.
The breakpoint entries in the list indicate which file the breakpoint has been set in and provide you with a summary of the breakpoints' properties. With pop-up menu options, you can remove breakpoints, enable or disable breakpoints, and go to the location of the breakpoint in the editor source file. And, with push buttons in the Breakpoints view, you can remove breakpoints. In addition, you can right-click on a breakpoint in the Breakpoints view and select Properties. This will invoke the Breakpoint Properties dialog box, where you can view details of the breakpoint. This dialog box indicates if the breakpoint is persisted. Breakpoints that are not persisted are removed when the debug session terminates. In addition, you can specify a hit count for the breakpoint in the dialog box. To do this, enter a positive integer in the Hit Count field, and then select the mode that you want to apply to the hit count:
Breakpoints can be enabled and disabled using pop-up menus or check box in the Breakpoints view - or by check box in the Breakpoint Properties dialog box. In the Breakpoints view, the check box to the left of the breakpoint indicates if the breakpoint is enabled (when enabled, the check box contains a check mark). When a breakpoint is enabled, it will cause a thread to suspend whenever it is hit. When a breakpoint is disabled, it will not cause threads to suspend. For further information about enabling and disabling breakpoints, see the related topic.
While in the Breakpoints view, the source editor will open to the location of a breakpoint if you perform one of the following tasks: