New Breakpoint Dialog Box: Exception
See Also
You use the New Breakpoint dialog box to set a breakpoint on an exception.
To open the dialog box, from the main menu, choose
Run > New Breakpoint, then select Exception from the
Breakpoint Type drop-down list.
You can set the following values:
- Settings.
- Package Name. The name of the package
that contains the exception that you want the debugger to stop
on. If this field is already filled in, the information is based
on the location of the insertion point in the Source Editor.
- Exception Class Name. The full
class name of the exception or error.
- Stop on. When to trigger the breakpoint:
when the exception is caught, when the exception is not caught, or on all
exceptions (exception caught or uncaught).
- Condition. A Boolean expression that
triggers the breakpoint when the expression evaluates to True.
For information on the syntax rules for setting a condition,
see Syntax Rules for Setting a Condition on a Breakpoint.
- Actions. The actions to take when the breakpoint is triggered.
- Suspend. Specifies which threads in the program
being debugged are suspended when the breakpoint is reached.
You can specify no threads, all threads, or the breakpoint
thread. The breakpoint thread is the thread that is current
when the breakpoint is reached.
- Print Text. The specified message is printed in the
Debugger Console view of the Output window. For information on the
tags you can include in the message,
see Printing a Breakpoint Message.
- See Also
- New Breakpoint Dialog Box
- Setting a Java Breakpoint
- Breakpoints in the IDE
Legal Notices