How to get the DebugPrint Messages on Vista to print onto WinDbg???

Hi All,

I am using trying to get hands on with Driver Development on Vista. Now i am
able to connect through WinDbg but when i try to print any message using
DbgPrint it doesn’t print onto a WinDbg…

Can anyone let me know on how to view these message without using
DbgPrintEx() function???

Thanks in advance!

Have a look into this
http://blogs.msdn.com/doronh/archive/2006/11/14/where-did-my-debug-output-go-in-vista.aspx

On Tue, Apr 22, 2008 at 6:22 AM, Usb Protocol wrote:

> Hi All,
>
> I am using trying to get hands on with Driver Development on Vista. Now i
> am able to connect through WinDbg but when i try to print any message using
> DbgPrint it doesn’t print onto a WinDbg…
>
> Can anyone let me know on how to view these message without using
> DbgPrintEx() function???
>
> Thanks in advance!
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer


Regards,
T.V.Gokul.

this may help
http://www.osronline.com/article.cfm?article=295

I didn’t read either of these articles, but all you need to do to get this to work in the simplest case is just type this command in
WinDbg:

ed nt!Kd_DEFAULT_mask 0x0F

This will emulate the environment of XP, with everything displayed by default. If you wish to selectively display via DbgPrintEx(),
then you probably will need to read the articles.

Good luck,

mm

xxxxx@gmail.com wrote:

this may help
http://www.osronline.com/article.cfm?article=295

That should read ‘ed nt!Kd_DEFAULT_Mask 0x0F.’

mm

Martin O’Brien wrote:

I didn’t read either of these articles, but all you need to do to get
this to work in the simplest case is just type this command in WinDbg:

ed nt!Kd_DEFAULT_mask 0x0F

This will emulate the environment of XP, with everything displayed by
default. If you wish to selectively display via DbgPrintEx(), then you
probably will need to read the articles.

Good luck,

mm

xxxxx@gmail.com wrote:
> this may help
> http://www.osronline.com/article.cfm?article=295