New Breakpoint Dialog Box: Class
See Also
You use the New Breakpoint dialog box to set a breakpoint on a class.
To open the dialog box, from the main menu, choose Run > New Breakpoint
(Ctrl-Shift-F8), then select Class from the Breakpoint Type drop-down list.
- If the fields in the dialog box are already filled in,
the information is based on the location of the insertion point in the Source Editor.
You can set the following values:
- Settings.
- Package Name. The name of the package you want the
debugger to stop on. You can use an asterisk (*) for the package name
if you do not want to specify a single package.
- Class Name. The name of the class file you want the
debugger to stop on. You can use an asterisk for the class name
if you do not want to specify just one class. For example,
if you specify java.lang as the package name and * for the class name, the
breakpoint applies to any class from the package java.lang.
- Exclusion Filter. If selected, the breakpoint applies to
classes whose names do not match the specified class name.
- Breakpoint Set On. When to trigger the breakpoint.
- Class Prepare. Triggers the breakpoint when the
class is loaded into the virtual machine.
- Class Unload. Triggers the breakpoint when the
class is unloaded from the virtual machine.
- Class Prepare or Unload. Triggers
the breakpoint both when the class is loaded and when it is
unloaded from the virtual machine.
- 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