Previous Topic Next topic Print topic


Trace Statement

Use

Displays each source statement as it is executed.

Command Syntax

TRACE STATEMENT

Description

The TRACE STATEMENT command sets tracepoints, which enable the tracing of every statement by printing a message identifying the statement.

At each statement, if there is no other action to be performed (that is, if there is no breakpoint, entry trace, single step action, and so on), the identifying message is printed and execution continues.

Example

In the following example, statement tracing is turned on and program execution is continued.

CodeWatch> TRACE STATEMENT
CodeWatch> CONTINUE
**** PRIMES\112 
**** PRIMES\113 
Break at PRIMES\114
Previous Topic Next topic Print topic