Syntax Rules for Setting a Condition on a Breakpoint

See Also

A condition is a Boolean expression set on a breakpoint that triggers the breakpoint when the expression evaluates to True. You can set a condition on the following types of Java breakpoints:

The condition must follow Java syntax rules. The condition can include anything allowed to be on the right side of the equal sign (=). The condition can also include variables and methods that are in the current context. The following restrictions apply to breakpoint conditions:

You can set a condition by using the New Breakpoint dialog box or the breakpoint's Properties window. The Source Editor identifies a conditional breakpoint with the symbol Conditional breakpoint icon.

See Also
New Breakpoint Dialog Box: Method
New Breakpoint Dialog Box: Exception
New Breakpoint Dialog Box: Field

Legal Notices