Previous Topic: Remove Request BreakpointsNext Topic: Read the Backtrace Summary


Backtrace Facility

When your program is at a breakpoint, you will find it useful to examine the backtrace. The backtrace shows the logic of the program and explains how execution reached this point.

To enter the Backtrace facility, press PF11 from the Source Listing Breakpoint screen, or, type BTRACE in the Command line and press Enter. CA InterTest for CICS positions the Backtrace Summary Screen at the last executed statement, which is the current breakpoint location.

To view your program's backtrace, statement-by-statement, press PF2 from the Backtrace Summary screen to access the Source Listing Backtrace.

Note: The execution PF keys are disabled and are replaced with special forward and backward tracing PF keys, while you are using the Backtrace facility.

The following screen shows the Backtrace Summary screen:

CA InterTest for CICS Release 9.1.00 - BACKTRACE SUMMARY Program= ASMDEMO From 0001 To 0006 Of 0006 Specify S then ENTER to display Source Listing BACKTRACE ------------------------------------------------------------------------------- PFKS 1 Help 2 Backtrace 3 End 4 5 1st Stmt 6 Last Stmt 7 Backward 8 Forward 9 10 11 Prev Bloc 12 Next Bloc ------------------------------------------------------------------------------- S Bkmk Stmt Block ¦ Source Listing _ ____ +0 ... +18 ¦ + STM 14,12,12(13) SAVE CALLER'S R _ ____ +22 ... +26 ¦ + L 15,=V(DFHEAI0) _ ____ +28 ... +9E ¦ + ST 13,DFHEISA-DFHEISTG+4(,1) CHAIN TO _ ____ +A0 ... +CA ¦ _ ____ +CC ... +E4 ¦ CLI TSSWITCH,DFHCLEAR CLEAR KEY S * ____ +166 ... BKPT ¦ LA R5,S2LEN LENGTH OF V CAIN2988 First and Last Backtrace Stmt Block