WPP tracing

I am trying to get WPP tracing to work on Windows XP 64 bit, and I am not
able to get any output into a WinDbg session. I tried using tracelog to
enable logging and I get an error when I try to use that, but seems to
enable the log, and even creates one.

I am unable to use the x64 version of traceview, on account of missing msvc
redistributable Dlls -msvcr70.dll & msvcpdb70.dll

I used something like tracelog -start MyTrace -guid MyGuidFileHere -rt -kd.

Any ideas?

IF you need to use traceview, tracelog, tracefmt, tracepdb please use
the latest version from the WDK.

What error are you getting when enabling the tracing?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ashok Bruno
Sent: Tuesday, May 23, 2006 7:47 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] WPP tracing

I am trying to get WPP tracing to work on Windows XP 64 bit, and I am
not
able to get any output into a WinDbg session. I tried using tracelog to
enable logging and I get an error when I try to use that, but seems to
enable the log, and even creates one.

I am unable to use the x64 version of traceview, on account of missing
msvc
redistributable Dlls -msvcr70.dll & msvcpdb70.dll

I used something like tracelog -start MyTrace -guid MyGuidFileHere -rt
-kd.

Any ideas?


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

i was able to figure out what was wrong with the guid, and now I am able to
enable it or atleast it seems to be enabled… However what I wanted to do
was to redirect the trace to Windbg, and I am not able to see any traces.

Are there any registry options required to get it to display all traces?

Ashok

“Jose Sua” wrote in message
news:xxxxx@ntdev…
IF you need to use traceview, tracelog, tracefmt, tracepdb please use
the latest version from the WDK.

What error are you getting when enabling the tracing?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ashok Bruno
Sent: Tuesday, May 23, 2006 7:47 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] WPP tracing

I am trying to get WPP tracing to work on Windows XP 64 bit, and I am
not
able to get any output into a WinDbg session. I tried using tracelog to
enable logging and I get an error when I try to use that, but seems to
enable the log, and even creates one.

I am unable to use the x64 version of traceview, on account of missing
msvc
redistributable Dlls -msvcr70.dll & msvcpdb70.dll

I used something like tracelog -start MyTrace -guid MyGuidFileHere -rt
-kd.

Any ideas?


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

To get the traces to show up in Windbg only works in Vista, and soon in
down-level in a couple of weeks.

Use the latest debugger which has a copy of the extension wmitrace to
see the trace statements.

The only option you have right now debugging down-level OS is to save
the trace to a log file and view the trace.

You could also start a GlobalLogger session and process the events.
Search MSDN for GlobalLogger.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ashok Bruno
Sent: Tuesday, May 23, 2006 12:18 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] WPP tracing

i was able to figure out what was wrong with the guid, and now I am able
to enable it or atleast it seems to be enabled… However what I wanted
to do was to redirect the trace to Windbg, and I am not able to see any
traces.

Are there any registry options required to get it to display all traces?

Ashok

“Jose Sua” wrote in message
news:xxxxx@ntdev…
IF you need to use traceview, tracelog, tracefmt, tracepdb please use
the latest version from the WDK.

What error are you getting when enabling the tracing?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ashok Bruno
Sent: Tuesday, May 23, 2006 7:47 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] WPP tracing

I am trying to get WPP tracing to work on Windows XP 64 bit, and I am
not able to get any output into a WinDbg session. I tried using tracelog
to enable logging and I get an error when I try to use that, but seems
to enable the log, and even creates one.

I am unable to use the x64 version of traceview, on account of missing
msvc redistributable Dlls -msvcr70.dll & msvcpdb70.dll

I used something like tracelog -start MyTrace -guid MyGuidFileHere -rt
-kd.

Any ideas?


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

To print my WPP msgs in windbg (works in non-Vista), I have the
following in an include file:

#if DBG
#define WPP_DEBUG(_msg) KdPrint(_msg)
#endif // DBG

YMMV

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jose Sua
Sent: Tuesday, May 23, 2006 3:49 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] WPP tracing

To get the traces to show up in Windbg only works in Vista,
and soon in down-level in a couple of weeks.

Use the latest debugger which has a copy of the extension
wmitrace to see the trace statements.

The only option you have right now debugging down-level OS is
to save the trace to a log file and view the trace.

You could also start a GlobalLogger session and process the
events. Search MSDN for GlobalLogger.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ashok Bruno
Sent: Tuesday, May 23, 2006 12:18 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] WPP tracing

i was able to figure out what was wrong with the guid, and
now I am able to enable it or atleast it seems to be
enabled… However what I wanted to do was to redirect the
trace to Windbg, and I am not able to see any traces.

Are there any registry options required to get it to display
all traces?

Ashok

“Jose Sua” wrote in message
> news:xxxxx@ntdev… IF you need to use traceview, tracelog,
> tracefmt, tracepdb please use the latest version from the WDK.
>
> What error are you getting when enabling the tracing?
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Ashok Bruno
> Sent: Tuesday, May 23, 2006 7:47 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] WPP tracing
>
> I am trying to get WPP tracing to work on Windows XP 64 bit,
> and I am not able to get any output into a WinDbg session. I
> tried using tracelog to enable logging and I get an error
> when I try to use that, but seems to enable the log, and even
> creates one.
>
> I am unable to use the x64 version of traceview, on account
> of missing msvc redistributable Dlls -msvcr70.dll & msvcpdb70.dll
>
> I used something like tracelog -start MyTrace -guid
> MyGuidFileHere -rt -kd.
>
> Any ideas?

If a driver is enabled with WPP, a customer in the field is successfully
using traceview.exe in the field to get a realtime display and there is a
crash, how is the trace information in the buffers retrieved?

If logging to a file, does the information get logged to the file before the
crash?

If a memory dump is enabled, does the trace information get stored in the
memory dump in which case how is it accessed when analyzing the memory dump
in WinDbg?

Current version of DDK (3790.1830) does not include msvcr70.dll and
msvcpdb70.dll for x64 platforms.
WDK (5384) for Vista contains 64-bit traceview.exe, which does not
depend on msvcr70.dll.
And there is no public official redistributable msvcr70.dll for x64
Windows. (There once was in MSKB but I do not know if it is still there)

However, You can use 32-bit version of traceview.exe in x64 windows.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ashok Bruno
Sent: Tuesday, May 23, 2006 10:47 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] WPP tracing

I am trying to get WPP tracing to work on Windows XP 64 bit, and I am
not
able to get any output into a WinDbg session. I tried using tracelog to
enable logging and I get an error when I try to use that, but seems to
enable the log, and even creates one.

I am unable to use the x64 version of traceview, on account of missing
msvc
redistributable Dlls -msvcr70.dll & msvcpdb70.dll

I used something like tracelog -start MyTrace -guid MyGuidFileHere -rt
-kd.

Any ideas?


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer