Step Through a Traced Program

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

To step back or forward in a program:

  1. Select the batch or CICS project in the InterTest Debug view with the active debug session.
  2. Click the Step Back icon A toolbar icon for tracing the control back to the previous executable statement. on the InterTest Debug view toolbar.

    If the Step Back icon is not enabled, click the Step Once icon A toolbar icon for invoking a single-step execution process. 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 A toolbar icon to enable the control stop at the next executable statement. on the 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 A toolbar icon to restart a suspended debug session. on the InterTest Debug view to continue with the actual execution of the program.

Statement Trace for 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 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.


Copyright © 2016 CA. All rights reserved.