# Breakpoint Properties: Exception

Use to set the properties of an exception breakpoint.

Element | Description
--- | ---
Settings | Breakpoint properties (class file and triggers)
Exception Class Name | Specifies the full class name of the exception or error.
Stop on | Specifies when to trigger the breakpoint. The breakpoint can be triggered when the exception is caught, when the exception is not caught, or on all exceptions (exception caught or uncaught).
Conditions | Conditional expression for the breakpoint
Filter on Classes Throwing the Exception | Filters the classes that trigger the breakpoint. You can specify that only exceptions occurring in classes matching a specific class name can trigger the breakpoint. You can also specify that exceptions occurring in specified classes do not trigger the breakpoint. You can use an asterisk (`*`) as a suffix to specify more than one class. For example, specify `java.lang*` to specify 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`).
Condition | Uses a Boolean expression to trigger the breakpoint when the expression evaluates to True.
Break when hit count | 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 | 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. 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 | Disables all the breakpoints in the selected group.
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.