Removing breakpoints

From the Breakpoints view, you can delete single breakpoints, multiple breakpoints, or all breakpoints.

About this task

You can also delete line breakpoints from the editor. If you delete a breakpoint, all information on 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 on disabling breakpoints, see the related topic below.

To delete a single breakpoint in the Breakpoints view:

Procedure

  1. Do one of the following:
    • 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.
  2. The breakpoint disappears from the Breakpoints view. If the breakpoint was a line breakpoint, it also disappears from the editor marker bar.

Results

To delete multiple breakpoints in the Breakpoints view:

  1. 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.
  2. Right-click the selection of breakpoints.
  3. Select Remove from the pop-up menu or click the Remove Selected Breakpoints push button in the Breakpoints view.
  4. The breakpoints disappear from the Breakpoints view. If the breakpoints were line breakpoints, they also disappear from the editor marker bar.

To delete line breakpoints in the editor:

  1. In the editor marker bar, locate the breakpoint that you want to delete.
  2. Do one of the following:
    • From the breakpoint's pop-up menu in the editor or from the breakpoint's pop-up menu in the marker bar, select Remove Breakpoint.
    • Double-click the breakpoint's marker bar indicator.
  3. The breakpoint disappears 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.

Feedback