Bewerken

Delen via


Starting and Exiting TraceView

This topic explains how to open and close the TraceView window.

Starting TraceView

To start TraceView, in Windows Explorer, navigate to the \tools\tracing\i386 subdirectory of the WDK and double-click the TraceView.exe icon.

Or, in a Command Prompt window, navigate to the \tools\tracing\i386 subdirectory of the WDK, and type traceview.

Exiting TraceView

To exit TraceView, on the File menu, click Exit, or click the Close button in the upper right corner of the TraceView window.

When you exit TraceView, it disables the trace providers that are running in the trace sessions that it started, stops all trace sessions that are running in the TraceView window, and then closes. This process might take a few seconds to complete, during which Windows might notify you that TraceView is not responding. Do not force TraceView to close before it is ready.

Exiting TraceView does not stop trace sessions that were started by other methods, including the TraceView command-line interface. Those sessions continue to run until you stop them or shut down Windows.

Starting the TraceView Command-Line Interface

To start the TraceView at the command line, open a Command Prompt window, navigate to the \tools\tracing\i386 directory of the WDK, and then type a TraceView command, such as traceview /?. (If you type traceview with no parameters, the TraceView window opens.)

For information about the TraceView commands, see TraceView Command-Line Interface.