Breakpoint Properties: Class
See Also
You use this dialog box to set the properties of a class breakpoint.
You set class breakpoint properties when you set a new breakpoint or when modifying an
existing breakpoint.
You open this dialog box by right-clicking a thread breakpoint in the Breakpoints
window and choosing Properties.
- 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.
- Class Name. The name of the class file you want the
debugger to stop on. You can use an asterisk (*) as a suffix
to specify more than one class. For example,
if you specify java.lang*, the
breakpoint applies to any class from the package java.lang.
You can then use the Exclude Classes condition to specify certain classes that
do not trigger the breakpoint.
- Stop On. Select which of the following triggers the breakpoint.
- Class Load. The breakpoint is triggered when the
class is loaded into the virtual machine.
- Class Unload. The breakpoint is triggered when the
class is unloaded from the virtual machine.
- Class Load or Unload. The breakpoint is triggered
when the class is loaded and when it is unloaded from the virtual machine.
- Conditions
- Exclude Classes. When selected, enables you to specify classes to exclude.
Excluded classes do not trigger the breakpoint when they are loaded.
If not selected, the breakpoint is triggered by any classes matching the Class Name setting.
You can use an asterisk (*) as a suffix to exclude more than one class.
For example, specify java.lang* to exclude all classes from the package java.lang.
You can specify multiple patterns by separating the patterns with a comma or a space
(java.net.URLClassLoader*, java.lang.ClassLoader).
- Break when hit count. When selected, enables you to specify how frequently the breakpoint is triggered.
Choose a criteria in the drop-down list and then specify a numerical value.
- 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.
- Enable Group. Select a group of breakpoints in the dropdown list to enable all the breakpoints in the group.
The dropdown list contains all named groups and default groups of breakpoints organized by file, project and type.
For more about named breakpoint groups, see Organizing Breakpoints Into a Group.
- Disable Group. Select a group of breakpoints in the dropdown list to disable all the breakpoints in the group.
- 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
- Setting a Java Breakpoint
- Breakpoints in the IDE
- Breakpoints Window
- Organizing Breakpoints Into a Group
- Debugger Windows
Legal Notices