Setting an Exception Breakpoint

See Also

The following instructions are specific to the Java 2 debugger.

To set a breakpoint on an exception:

  1. From the main menu, choose Debug and choose New Breakpoint (Ctrl-Shift-F8).
  2. Set the Debugger combo box to Java.
  3. Set the Breakpoint Type to Exception.
  4. Specify the breakpoint settings.
  5. Specify the actions to take when the breakpoint is triggered:
  6. Click OK.

    The breakpoint is added to the Breakpoints window.

See Also
Setting a Line Breakpoint
Setting a Method Breakpoint
Setting a Class Breakpoint
Setting a Thread Breakpoint
Setting a Variable Breakpoint

Legal Notices