Trace Message List Features
This topic describes the features of the Trace Message List. You can use these features to customize the list.
Displaying and Hiding Columns
To display and hide columns of the Trace Message List, right-click anywhere in the column heading row. On the shortcut menu that appears, checked properties are displayed; unchecked properties are hidden. To display or hide a property, select it from the shortcut menu.
You can use this procedure to display valuable information about the trace message, including the function name and the line number in the source code that generated the message.
Saving the Column Configuration
TraceView displays selected columns by default. If you prefer to have different columns displayed and hidden, you can save your column configuration as the new default configuration.
To save a new column configuration, do the following:
In the Trace Message List, right-click any column heading.
Click Save As Default.
Sorting by Column
To sort by the values in a column, click the column heading. When you click the column heading repeatedly, the column toggles between the ascending and descending order of the values in that column. By default, the Trace Message List is sorted by the values in the Msg# column.
Autofit Columns
To adjust the width of each column to the width of the data in that column, right-click any trace message row (other than the column headings) in the Trace Message List, and click AutoFit Columns.
Clear Display
To delete all trace messages from the display, right-click any trace message row (other than the column headings) in the Trace Message List, and click Clear Display.
Clearing the display does not delete the trace messages from a trace log or output file. However, if the messages are being generated by a real-time trace session and are not being saved in a log or output file, you will not be able to recover them.
Copying Trace Messages
To copy trace messages from a Trace Message List, do the following:
Select the trace messages that you want to copy. You can use SHIFT+Click to select consecutive messages or CTRL+Click to copy non-consecutive messages.
Press CTRL+C. Or, right-click any cell of any selected trace message and click Copy.
The messages are copied in a tab-delimited format. You can paste them into a text file or spreadsheet file for later use.
For more information about saving trace messages, see Creating Text Versions of Trace Logs.