Topic
Prev Next

Tracepoint Output

The Tracepoints page of the Analyzer Script enables you to direct where the output from any Trace statements goes during a debug session.

Access

On the Execution Analyzer window, either:

  • Locate and double-click on the required script and select the 'Debug > Tracepoints' page      or
  • Click on in the window Toolbar and select the 'Debug > Tracepoints' page

Ribbon

Execute > Analyze > Analyzer Scripts

Context Menu

Project Browser | Right-click on Package | Execution Analyzer

Keyboard Shortcuts

Shift+F12

Tracepoint properties

Field

Detail

See also

Output

You can select from two options:

  • 'Screen' (the default) - The output is directed to the Debug window
  • 'File' - The output is directed to file

Folder

Enter the folder to use for Trace statement log files.

Filename

Enter the name to use for the Trace statement log files.

Overwrite

If selected, the specified  file is overwritten each time a debug session is started.

Auto Number

If selected, the Trace log file is composed of the filename you specify and a number.

Each time you start a debug session, the number is incremented.

Prefix trace output with function

If selected, any Trace statements executed during the debug session run are prefixed with the current function call.

Notes

  • You can use the $stack keyword in your Trace statement to print the current stack trace; use:
  • $stack - to print all frames, or
  • $stack(n) - to print a specific number of frames; for example, $stack(5) will print the current frame and 4 ancestors