Previous Topic: Set Conditional Breakpoints from the Source ListingNext Topic: Literal Formats


Variable-Change Breakpoints

COBOL and Assembler users set a conditional breakpoint to take effect whenever the value of a variable changes. To do this, type x in the All Instructions field on the Conditional Locations screen.

COBOL users must specify the variable name on the Conditional Breakpoint screen. The condition for a variable‑change breakpoint is:

variableA NE variableB

Assembler users must specify the variable name on the Detailed Conditional Breakpoint screen, as discussed in The Detailed Conditional Breakpoint Screen.

The specified operator determines whether the breakpoint occurs whenever the value of the variable changes (NE), or only when the value increases, decreases, or does not change. Whenever you re-execute the program, the initial value of the variable resets to its value at the beginning of program execution.