Debugging

You can use the following icons on the InterTest Debug view toolbar to perform debugging activities on the currently active program in the Program Listing area:

Icon

Description

Step Over

When stopped within a paragraph or subroutine, the STEP RETURN command causes the test session to continue until the session encounters the statement following PERFORM or CALL that invoked the current paragraph or subroutine, where a break point occurs. You must have the Statement Trace enabled in the session settings to use STEP RETURN.

Step Return

When stopped on a PERFORM or CALL, the STEP OVER command causes the test session to continue until the statement following the PERFORM or CALL is encountered, where a break point occurs.

A toolbar icon for invoking a single-step execution process.

Initiates a single-step execution process in which the control stops at the next executable statement. Each single step request executes one statement and stops.

A toolbar icon to restart a suspended debug session.

Resumes execution of the current debug session from the last breakpoint encountered.

A toolbar icon to position the control at a breakpoint

Positions the program listing at the current instruction.

A toolbar icon to enable the control stop at the next executable statement.

Lets the debugger step forward through the execution path.

A toolbar icon for tracing the control back to the previous executable statement.

Lets the debugger step back through the execution path.

A toolbar icon to obtain a new copy of a program

Runs the CA InterTest for CICS New Copy utility in the CICS region.

A toolbar icon to suspend an active debug session.

Sends an Attention keystroke to the mainframe.

A toolbar icon for cancelling an active debug session.

Opens the Select Termination Options dialog.

An icon ( a green bug) to start a debug session.

Starts a debug session. You can specify the settings to debug the selected batch or CICS project using the InterTest Debug Settings dialog for that project.

This section contains the following topics:

Breakpoint Activities

Start a Debug Session

Step Through a Program

Set Execution Count Preferences

Interrupt a Looping Program

Use the Statement Trace Option

Terminate or Suspend a Debug Session

List and Retrieve Batch Link Jobs

Debug CICS Composite Programs

Execute the InterTest for CICS New Copy Function