From the Breakpoints view, you can delete
single breakpoints, multiple breakpoints, or all breakpoints. You can also
delete breakpoints from the editor. If you delete a breakpoint, all information
about it is lost.
If you do not want a breakpoint to stop execution, but want to
keep information about the breakpoint, disable the breakpoint instead of deleting
it. For information about disabling breakpoints, see the related topic.
To
delete a single breakpoint in the Breakpoints view:
- Perform one of the following tasks:
- Right-click on the breakpoint you want to delete and select Remove from
the pop-up menu.
- Select the breakpoint you want to delete and click the Remove
Selected Breakpoints push button in the Breakpoints view
or press the Delete key.
- The breakpoint is removed from the Breakpoints view
and from the editor marker bar.
To delete multiple breakpoints in the Breakpoints view:
- In the Breakpoints view, select the breakpoints you
want to delete by left-clicking and using either the Shift keyboard key or
the Ctrl keyboard key.
- Perform one of the following tasks:
- Right-click the selection of breakpoints and select Remove from
the pop-up menu.
- Click the Remove Selected Breakpoints push button
in the Breakpoints view.
- The breakpoints are removed from the Breakpoints view
and from the editor marker bar.
To delete line breakpoints in the editor:
- In the editor marker bar, locate the breakpoint that you want to delete.
- Double-click the breakpoint's marker bar indicator.
- The breakpoint is removed from the marker bar and from the Breakpoints view.
To delete all breakpoints: in the Breakpoints view,
select Remove All from the pop-up menu or click the
Remove All Breakpoints push button in the Breakpoints view.
Note: - If you want to delete all breakpoints, keep in mind that the Breakpoints view
Remove All Breakpoints actions delete all breakpoints
in the entire workbench, not just in the active program.
- To avoid affecting breakpoints that are not related to your debug session,
you can use the filter by debug target action. For information about this
action, see the Using Breakpoints topic.