Try OpenEdge Now
skip to main content
Debugging and Troubleshooting
OpenEdge Debugger : Debugger Window and Files : Debugger dialog boxes : New Breakpoint dialog box : Conditional breakpoints
Conditional breakpoints
A condition is any expression that the AVM can evaluate to a logical value. The expression can include variables, buffer fields, object methods and attributes, logical operators (AND, OR, and so forth), comparison operators (=, <>, EQ, NE, and so forth), and other code entities.
The AVM validates the expression syntax when the breakpoint is added, but does not check variable references. If any variables in the condition are out-of-scope or nonexistent, the AVM interrupts execution (as if honoring the breakpoint) and displays an error message in the Debugger.
You can add a condition to any existing breakpoint (except those that are triggered by an error) by selecting the breakpoint and choosing the Edit button in the Breakpoints dialog box. For more information, see Edit Breakpoint dialog box .