# Breakpoint Properties: Method

Use to set the properties of a method breakpoint.

Element | Description
--- | ---
Settings | Breakpoint properties (class file and triggers)
Class Name | Specifies the name of the class that contains the method. If the Apply Also to Anonymous Inner Classes checkbox is selected, the breakpoint also applies to all anonymous (unnamed) inner classes that the specified class contains. If an anonymous class contains another inner class (either anonymous or named), the breakpoint also applies to that inner class.
All Methods for Given Class | Applies the breakpoint to all methods of the specified class.
Method Name | Specifies the name of the method in the class that triggers the breakpoint. The All Methods for Given Class checkbox must be deselected to specify a method name. If you want to apply the breakpoint to all methods of the specified class, select the All Methods for Given Classes checkbox
Stop on | Specifies when program execution is stopped. Choose one of the criteria from the drop-down list.
Conditions | Conditional expression for the breakpoint
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.
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.