Setting a Breakpoint on an Exception

You have several options for setting a breakpoint on an exception.

To set a breakpoint on an exception:

  1. From the main menu, choose Debug and choose Add Breakpoint (Ctrl-Shift-F8).
  2. In the Add Breakpoint dialog box, select Exception from the Breakpoint Type combo box.
  3. Specify the breakpoint settings:
  4. Specify the actions to take when the breakpoint is hit:
  5. Click OK.

    The breakpoint is added to the Breakpoints view of the Debugger window.

See also
Setting a Breakpoint on a Line
Setting a Breakpoint on a Method Name
Setting a Breakpoint on a Class
Setting a Breakpoint on a Thread
Setting a Breakpoint on a Variable

Legal Notices