Breakpoint Dialog Box: Field
See Also
You use this dialog box to set the properties of a field breakpoint.
You can set field breakpoint properties when you set a new breakpoint or when modifying an
existing breakpoint.
- To set a new field breakpoint, choose Run > New Breakpoint
(Ctrl-Shift-F8) from the main menu, then select Field from the Breakpoint Type drop-down list.
- To customize an existing field breakpoint, right-click the field breakpoint in the
Breakpoints window and choose Customize.
You can set the following values:
- Settings.
- Class Name. The name of the class file. You can also use an asterisk for the class name. 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.
- Field Name. The name of the field that contains the breakpoint.
- Stop On. When to trigger the breakpoint.
Field Access stops your program when it queries a field in the specified class.
Field Modification stops your program when the value of the field changes.
- Conditions
- Condition. A Boolean expression that triggers the breakpoint when the expression evaluates to True. For information on the syntax rules for setting a condition, see Syntax Rules for Setting a Condition on a Breakpoint.
- 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. Enable you to specify the actions to take when the breakpoint is triggered.
- Suspend Debugging. If selected, all threads in the program being debugged are temporarily stopped.
- Print Text. If selected, 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
Legal Notices