Removing SQLJ breakpoints

From the Breakpoints view, you can delete single breakpoints, multiple breakpoints, or all breakpoints. 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 about disabling breakpoints, see the related topic below.

To delete a single breakpoint in the Breakpoints view:

    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.

    The breakpoint disappears from the Breakpoints view and from the editor marker bar.

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. Do one of the following:

    • 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.

  3. The breakpoints disappear from the Breakpoints view and 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 marker bar pop-up menu, select Toggle Breakpoint.

    • Double-click the breakpoint's marker bar indicator.

    • If you are removing a method breakpoint or a watchpoint, place the cursor in the line that contains the object for which the breakpoint was set and choose Run > Toggle Method Breakpoint or Run > Toggle Watchpoint accordingly.

  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 action deletes 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 below.

 

Related concepts

Breakpoints

 

Related tasks

Using SQLJ breakpoints
Setting a line breakpoint
Setting a method breakpoint
Setting a watchpoint
Viewing and configuring breakpoint properties
Enabling and disabling SQLJ breakpoints