Show / Hide Table of Contents

Trace


General Action Statement

The Trace statement turns the tracing function on and off, which is used to follow the logical flow of a model. Trace listings appear in a separate window on the screen.

Syntax

Trace {<message>}{Step or Cont or Off or Close}

Syntax Examples

Trace "Begin Test for Resource A"
Trace Cont
Trace Close

Parameters

(<message>)

The message you want to display in the trace listings when the Trace statement is encountered. The message can be any string expression.

You may also choose one of the following Trace statement options:

Step

Makes ProModel wait for the user to click before executing the next statement, or trace continuously while the right mouse button is held down. If the Type field is left blank, the Trace statement defaults to the Step type.

Cont 

Steps continuously without user intervention. Right-click steps through the Logic.

Off 

Turns tracing off but does not close the trace listing.

Close

Turns tracing off and closes the trace listing.

In This Article
Back to top Generated by DocFX