Disabling and Deleting Breakpoints
When you disable a breakpoint, all the breakpoint settings remain
defined, but the breakpoint is not triggered when your program is run;
your program will not stop on a disabled breakpoint. Disabling a
breakpoint is useful if you have defined a breakpoint that you don't
need to use now, but might need to use at a later time.
Disabling Breakpoints
Use any of the following methods to disable a breakpoint:
-
In the source editor, right-click the line of code with the breakpoint
and choose Disable Breakpoint from the
source editor context menu.
-
To disable a breakpoint, open the Breakpoints window and select the
breakpoint you want to disable. You can now right-click, and choose
Disable Breakpoint.
-
To disable a group of breakpoints in the Breakpoints window,
right-click a breakpoint group and choose Disable
Group in the context menu.
-
To disable all current breakpoints, in the Breakpoints window,
right-click and choose Disable All.
-
To enable a breakpoint that is disabled, right-click the disabled
breakpoint in the Breakpoints window, and choose
Enable Breakpoint .
-
To enable all breakpoints that have been set, right-click in the
Breakpoints window, and choose Enable All
.
-
To enable a group of breakpoints, right-click a breakpoint group in
the Breakpoints window, and choose Enable Group
.
Deleting breakpoints
When you no longer need to examine the code at a breakpoint location,
you can delete the breakpoint. You can delete breakpoints using either
the source editor or in the Breakpoints window:
Use any of the following methods to delete breakpoints:
-
In the left margin of the source editor, click the breakpoint you want
to delete.
-
In the source editor, right-click in the line of code, and choose
Toggle Breakpoint from the context menu or press F5 .
-
From the Breakpoints window, highlight the breakpoint you want to
remove, then choose Remove Breakpoint
from the context menu. Alternatively, you can press
Delete on your keyboard.
-
To delete all currently set breakpoints, select
Remove All from the context menu.
Caution: You cannot undelete a breakpoint.
Related topics
About Breakpoints
Setting Source
Breakpoints
Editing a Breakpoint
Examining Breakpoints with the Breakpoints Window
About Valid and Invalid Breakpoints
Copyright © 1997, 2004, Oracle. All rights reserved.