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:

  1. Locate the breakpoint in the marker bar of an editor or in the Breakpoints view.
  2. Open the breakpoint's context menu and select Disable Breakpoint.
  3. The breakpoint image will change to a white circle.

To enable the breakpoint:

  1. Locate the breakpoint in the marker bar of an editor or in the Breakpoints view.
  2. Open the breakpoint's context menu and select Enable Breakpoint.
  3. The breakpoint image will change back to a blue circle.

Related concepts
Debugger
Java perspectives
Java editor

Related tasks
Applying hit counts
Catching Java exceptions
Removing breakpoints
Setting method breakpoints
Managing conditional breakpoints
Stepping through the execution of a program

Related reference
Breakpoints view

Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved.