Hardware Dev Center

Exporting LogViewer Files to Text

A powerful way to manipulate log files is to export them to text. This allows you to find specific parameter values by using the Find facility of any text editor. Although it is possible for a text file to be generated by Logger directly, you will have more flexibility if you use LogViewer to filter the function calls or add aliasing, and then export this information into a text file.

To create a text file from an .lgv file, open the file in LogViewer, and then select File | Export to Text. In the dialog box, choose a file name and location.

There are several options at the bottom of the dialog box:

Export Diff Information

This option will alias all pointers, handle values, and other values that change from execution to execution. Instead of outputting the actual value of a pointer (for example, "0x00123FA2"), LogViewer will output "Pointer." Similarly, handles will be aliased as "HeapHandle1" or some other value that will not register as a diff when the two files are compared using a differencing tool.

Include Non-Visible Rows

This option disables whatever filters are currently applied to the view while exporting.

Create a Separate File For Each Thread

This option splits up the text file by thread, making it easier to follow a thread of execution. This is useful if you intend to "diff" two instances of execution.

Export Range

This option specifies the range of rows to export.

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft