Enabling and disabling breakpoints
Breakpoints can be enabled and disabled as needed. When a breakpoint is enabled, thread execution suspends before that line of code is executed. When a breakpoint is disabled, thread execution is not suspended by the presence of the breakpoint.
To disable a breakpoint in the Breakpoints View:
- Open the breakpoint's context menu and select Disable, or deselect the breakpoint's checkbox.
- The breakpoint image will change to a white circle and its checkbox will be empty.
To disable a breakpoint in the marker bar of an editor:
- Open the breakpoint's context menu and select Disable Breakpoint.
- The breakpoint image will change to a white circle.
To enable the breakpoint in the Breakpoints View:
- Open the breakpoint's context menu and select Enable, or select the breakpoint's checkbox.
- The breakpoint image will change back to a blue circle, and its checkbox will be checked.
To enable a breakpoint in the marker bar of an editor:
- Open the breakpoint's context menu and select Enable Breakpoint.
- The breakpoint image will change to a white circle.
Debugger
Java perspectives
Java editor
Applying hit counts
Catching Java exceptions
Removing breakpoints
Setting method breakpoints
Managing conditional breakpoints
Stepping through the execution of a program