Breakpoint Properties: Field

Use to set the properties of a field breakpoint.

Element Description

Settings

Breakpoint properties (class file and triggers)

    Class Name

Specifies 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

Specifies the name of the field that contains the breakpoint.

    Stop on

Specifies when program execution is stopped at field access or field modification.

        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

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 Debugging

Temporarily stops all threads in the program being debugged.

    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,

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.