New Breakpoint Dialog Box: Variable
See Also
You use the New Breakpoint dialog box to set a breakpoint on a variable.
To open the dialog box, from the main menu, choose Run > New Breakpoint, then select Variable from the Breakpoint Type drop-down list.
You can set the following values:
- Settings.
- Package Name. The name of the package you want the debugger to stop on. You can use an asterisk (*) for the package name.
- 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.
- Stop on. When to trigger the breakpoint. Variable Access stops your program when it queries a variable in the specified class and field. Variable Modification stops your program when the value of the variable changes.
- 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.
- 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