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 in fields Œ and Ž on the Conditional Breakpoint screen. The condition for a variable‑change breakpoint is:
variableA NE variableA
Assembler users must specify the variable name in fields Œ and on the Detailed Conditional Breakpoint screen, as discussed in The Detailed Conditional Breakpoint Screen later in this chapter.
The operator entered in field 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.
|
Copyright © 2012 CA.
All rights reserved.
|
|