Compartir a través de


WinINet ETW Tracing Support in Windows Vista

In order to enhance debugging of wininet.dll for application developers, Microsoft has added ETW tracing support for this component. The feature will be available beginning with Windows Vista Beta 2 builds.

 

To use the feature, wininet.dll users should open a command prompt window with elevated privileges:

1. Click the Start button, point to All Programs, and then click Accessories.

2. Right-click Command Prompt, and then click Run Elevated or Run as administrator (depending on what Vista build you are running).

Initialize WinINet tracing:

logman start "wininettrace” -p “microsoft-windows-wininet” –o “wininettrace.etl” –ets

 

This command will initialize the ETW framework for WinINet tracing, using wininettrace.etl as the output file for trace data.

 

Log Events:

Run IE or an application that exercises the WinINet APIs

Stop tracing:

 

logman stop “wininettrace” -ets

 

Create a human readable (xml) log file:

 

tracerpt “wininettrace.etl” –y –o “wininetracelog.xml” –of xml

 

This command will generate an XML log file called wininetracelog.xml that contains the WinINet events logged.

--Jonathan Silvera

Comments

  • Anonymous
    March 28, 2006
    The comment has been removed
  • Anonymous
    March 29, 2006
    If you run the following command you will get a list of the registered providers:

    >logman query providers

    -Jonathan Silvera
  • Anonymous
    January 19, 2007
    Hi, I'm Jeff Balsley a test developer in the HTTP.sys team in Windows Networking. In this series I will