Adding a Variable Condition
To modify a data breakpoint, right-click the corresponding entry in the Breakpoints view to display the following context menu:

Choose the Edit Condition command and add a condition to the data breakpoint. For example:

In this example, the Natural runtime will halt execution once *CURRENT-UNIT is equal to 'PLANGTAB'.
Comparison Operators for Variable Conditions
The following table shows the operators that you can use to set a variable condition. Unless specified otherwise, program execution stops when the value of the data breakpoint changes.
Symbol | Code Equivalent | Description |
== | EQ | Equal. Left value is equal to right value. |
!= | NE | Not Equal. Left value differs from right value. |
> | GT | Greater Than. Left value is greater than right value. |
>= | GE | Greater or Equal. Left value is greater than or equal to right value. |
< | LT | Less Than. Left value is less than right value. |
<= | LE | Less or Equal. Left value is less than or equal to right value. |