The following sample screen shows how to set a conditional breakpoint in a COBOL program.
CA InterTest MONITORING COMMAND BUILDER CONDITIONAL BREAKPOINT í Enter LEFT SIDE Data Name tolen ________________________________________________________ í Enter OPERATOR (EQ, NE, GT, LT, GE, LE): lt Enter RIGHT SIDE Data Name ______________________________________________________________ OR í Literal 80______________________________________________________________ Press PF9 to go to complex conditional screen if necessary
This breakpoint takes effect only if the value in the data name TOLEN is less than 80. The breakpoint locations are all the instructions, as previously specified on the Conditional Locations screen.
When you specify that you want to remove conditional breakpoints, the following Remove Conditional Locations screen opens.
CA InterTest MONITORING COMMAND BUILDER COBOL BREAKPOINT LOCATIONS 11 REMOVE breakpoint locations for PROG=COBDEMO in any of the following fields: (For qualification by nested program name, specify 'ProgramID:Label') ŒPara/Data _______________________________ _______________________________ Names: _______________________________ _______________________________ _______________________________ _______________________________ Statement Numbers: _____ _____ _____ _____ _____ _____ _____ _____ Ž Offsets: _____ _____ _____ _____ _____ _____ _____ _____ All paragraph names: _ All Instructions:___ Term ID (or .ANY or .NO) where breakpoints will take effect: ____‘ Term ID (or .ANY) that will receive the breakpoints: ____’ user ID (or .ANY) who will execute the program ______ “
The easiest way to remove a conditional breakpoint is from the Monitoring Status display, as discussed in the chapter "Menus and Displays." To remove all conditional breakpoints from a program, enter .ALL in field Œof this screen, and press Enter.
|
Copyright © 2012 CA.
All rights reserved.
|
|