Viewing line count and variable tracing items

Before you start

On the TraceViewerPropertyView, you can check the properties of traces the based on the rules that were defined for line count and variable tracing.

For generic instructions on how to create rules and definitions, see instructions in Setting up rules and filters.

Viewing variable tracing history

To open the history:

  1. Select one or more items from the list.
  2. Right-click and select Open history from the menu.

    The Variable tracing history dialog is displayed.

    Variable Tracing History Dialog

    In the history, you can see the last n number of events of the variable changing. There is a timestamp (and time from the previous event), new value and the line number where the change happened. The Has codeline column indicates whether or not this item has location metadata available.

  3. (Optional) To open the source code of a line that has had changes:
    1. Select the Activate corresponding codeline box.
    2. Double-click a line that shows Yes in the Has codeline column.
  4. (Optional) To view the line number where changes happened:
    1. Select the Activate corresponding trace box, if not selected already.
    2. Double-click a line in the dialog and TraceViewer jumps to that line in the code.

Tip: If you close TraceViewer when you have any of the variable tracing rules enabled, they will get automatically enabled the next time you start TraceViewer.

Related tasks