Enabling and disabling breakpoints

You can disable a breakpoint so that it does not stop execution, and then later enable it again. Information about the breakpoint (such as type, location, condition, and frequency) is saved by the Distributed Debugger when the breakpoint is disabled. Since this is not true when the breakpoint is deleted, the advantage of disabling a breakpoint instead of deleting it is that it is easier to enable a breakpoint than to recreate it. Enabled breakpoints are indicated with a red dot (Brakpt.gif (97 bytes)). Disabled breakpoints are indicated with a gray dot (BrkptDis.gif (97 bytes)).

You can enable or disable breakpoints from the Breakpoints pane. Also, you can enable or disable breakpoints from the Source pane.

To enable or disable a single breakpoint from the Breakpoints pane:

  1. Click on the Breakpoints tab to bring the Breakpoints pane to the foreground.
  2. In the Breakpoints pane, expand the list of breakpoints until you see the breakpoint you want to enable or disable.
  3. Right-click on the breakpoint you want to enable or disable.
  4. Select Enable Breakpoint or Disable Breakpoint from the pop-up menu.

To enable or disable a breakpoint from the Source pane:

  1. Ensure the Source pane is set to source view. To set the Source pane to a source view, select Source > Source View.
  2. Scroll to the line which contains the breakpoint you want to enable or disable.
  3. Right-click on the line which contains the breakpoint you want to enable or disable.
  4. Select Enable Breakpoint or Disable Breakpoint from the pop-up menu.

To enable all breakpoints, select Breakpoints > Enable All Breakpoints from the menu bar.

To disable all breakpoints, select Breakpoints > Disable All Breakpoints from the menu bar.

Related Tasks
Deleting a breakpoint