Previous Topic: Conditional BreakpointsNext Topic: Variable-Change Breakpoints


Set Conditional Breakpoints

First, CA InterTest for CICS displays the Conditional Locations screen.

This screen is similar to the screen used to specify unconditional breakpoints, and you should enter the information in the same way. For details, see Set Unconditional Breakpoints earlier in this chapter.

A special feature lets you set a conditional breakpoint at all instructions.

To set conditional breakpoints:

  1. Enter an x in the All Instructions field to request this option, as shown in the following example. If you request the All Instructions option and set a variable‑change breakpoint, the breakpoint takes effect whenever the value of the variable changes.

     CA InterTest MONITORING COMMAND BUILDER  COBOL CONDITIONAL LOCATIONS  12                                                                                      SET 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: x                                                                                                       Enter 'n' to stop only every n'th time:                         ____            Term ID (or .ANY or .NO) where breakpoints will take effect:    ____            Term ID (or .ANY) that will receive the breakpoints:            ____            Statement no. of indirect command(s) to be executed:            _____           user ID (or .ANY) who will execute the program                  ______   

  2. Specify the breakpoint locations, and press Enter to display the Conditional Breakpoint screen.
  3. Specify the condition that must be satisfied for the breakpoint to take effect on the Conditional Breakpoint screen.

There are two versions of the Conditional Breakpoint screen: a simplified version for COBOL users, and a detailed version for PL/I and Assembler users and for those COBOL users who prefer this version.

On either version you, specify a condition in this format:

left side relational operator right side

If you are a COBOL user, the following screen opens.

CA InterTest MONITORING COMMAND BUILDER  CONDITIONAL BREAKPOINT                                                                                     Œ Enter LEFT SIDE                                                                    Data Name  taskswitch________________________________________________                                                                                                                                                                   Enter OPERATOR (EQ, NE, GT, LT, GE, LE):  eq                                                                                                              Enter RIGHT SIDE                                                                   Data Name ____________________________________________________________            OR                                                                   Ž    Literal 3_____________________________________________________________                                                                                                                                                                                                                                                                                                                                              Press PF9 to go to complex conditional screen if necessary