Previous Topic: Access the Source Listing BacktraceNext Topic: Navigate Through Program Execution


Read the Source Listing Backtrace

To clearly detail the program's execution path, statement by statement, source statements that were executed from the current backtrace position are highlighted. When you specify a non‑backtrace Source Listing option or use PF7 or PF8 to reposition the Source Listing, the highlighting of executed statements temporarily suspends until a backtrace‑related PF key (next block, previous block, and so on) is entered.

When in Source Listing Backtrace mode, the current backtrace position always displays on the line just above the first source statement. This line displays as follows:

======>BACKTRACE AT #nnnnn (nnnnn ‑> nnnnn executed nnnnn times)<=====

The information in this line indicates the following information:

#nnnnn:

Where the program statement or offset the backtrace is currently positioned.

nnnnn ‑> nnnnn:

The first and last number of the statement block.

nnnnn times:

The number of times a statement block was executed.

On the Source Listing Backtrace, each relevant backtrace position is indicated in the listing by an arrow or a line, as shown in the following table:

Backtrace Indicator

Meaning

====>

Indicates the first statement in a statement block

<====

Indicates the last statement in a statement block

====

Indicates all other statements within a statement block

The Source Listing Backtrace displays the source of the each statement: