Trace Statements

Tracepoints are set in the code editor. Like breakpoints, they are placed on a line of code. When that line of code executes, the Execution Analyzer evaluates and prints the statement either to the Debug window or to file, as configured in the Analyzer script.

How to

To set Tracepoints



See also


Open the source code to debug in the source code editor.

Editing Source Code


Find the appropriate code line, right-click in the left margin and select the Add Tracepoint Marker option. The breakpoint properties window is displayed.







In the Log field type the required Trace statement.

Testpoint Management

Specifying Tracepoints:

Using the example in the image above, we could output the number of people getting off a train by using the following statement:

There were @Passengers before @PeopleOFF got off the train


To print a variable, precede the variable name with the @ token. If a variable represents a string, precede the variable with a $ token. You can also include trace statements on any type of breakpoint.

Learning Center topics

(Alt+F1) | Build and Debug | Debug | Add Tracepoint