Step Through a Traced Program

You can step back or step forward through the currently active program listing.

Follow these steps:

  1. Select the batch or CICS project in the CA InterTest™ Debug view with the active debug session.

  2. Click the Step Back icon on the CA InterTest™ Debug view toolbar.
    If the Step Back icon is not enabled, click the Step Once icon a few times. These actions perform a set of single-step debugging and enable the Step Back icon.
    The program listing repositions to the previously executed statement. If the Statement Trace view is visible, the statement row is also highlighted. Clicking the Step Back toolbar icon also enables the Step Forward icon.

  3. Click the Step Forward icon on the CA InterTest™ Debug view to step forward.
    The program listing repositions to the next statement to be executed.

  4. Repeat step 2 if you want to step back through as many statements as recorded in the Statement Trace view. Repeat step 3 if you want to step forward.
    This action lets you step back and forth the set of executed statements in the order of their execution.

    Note: When you run the program, all executed statements in the program are automatically appended to the Statement Trace view in the order of their execution. This trace function operates regardless of whether the Statement Trace view is visible, active, hidden, or inactive.

  5. Click the Step Once or Resume Debugging icon on the CA InterTest™ Debug view to continue with the actual execution of the program.

Statement Trace for CA InterTest™ Batch

The trace facility is turned on by default when you first initiate a debug session. However, you must request data monitoring before the session starts to see the data values of the statements you want to step through.

Statement Trace for CA InterTest™ CICS

The Statement Trace option is only valid for COBOL programs. Both Statement Trace and data monitoring options are not turned on by default.