# Breakpoint Properties: Class

Use to set the properties of a class breakpoint.

Element | Description
--- | ---
Settings | Breakpoint properties (class file and triggers)
Class Name | Specifies the name of the class file you want the debugger to stop on. 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 | Sets a breakpoint triggers
Class Load | 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 Load or Unload | Triggers the breakpoint when the class is loaded and when it is unloaded from the virtual machine.
Conditions | Conditional expression for the breakpoint
Exclude Classes | Specifies 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.ClassLoade`r).
Break when hit count | Enables you to specify how frequently the breakpoint is triggered. Choose criteria in the drop-down list and then specify a numerical value.
Actions | 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 | Enables all the breakpoints in the selected group. Select the group from the drop-down list. The drop-down list contains all named groups and default groups of breakpoints organized by file, project and type.
Disable Group | Disables all the breakpoints in the selected group. Select the group from the drop-down list.
Print Text | Prints the specified message in the Debugger Console view of the Output window.

Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.