How do you print to windbg or DbgView from a user app?
thanks,
How do you print to windbg or DbgView from a user app?
thanks,
Try OutputDebugString API.
Kris
-----Original Message-----
From: xxxxx@yahoo.com [mailto:xxxxx@yahoo.com]
Posted At: Thursday, May 06, 2010 5:06 PM
Posted To: ntdev
Conversation: how to print to windbg or DbgView from a user app?
Subject: how to print to windbg or DbgView from a user app?
How do you print to windbg or DbgView from a user app?
thanks,
Thanks Kris.
“Krzysztof Uchronski” wrote in message
news:xxxxx@ntdev…
> Try OutputDebugString API.
Besides of this, usermode apps can call DbgPrint, DbgPrintEx,
vDbgPrintExWithPrefix.
They are exported from ntdll.dll, though not included in the export lib.
GetProcAddress will get them.
Regards,
--pa
> -----Original Message-----
> From: xxxxx@yahoo.com [mailto:xxxxx@yahoo.com]
> Posted At: Thursday, May 06, 2010 5:06 PM
> Posted To: ntdev
> Conversation: how to print to windbg or DbgView from a user app?
> Subject: how to print to windbg or DbgView from a user app?
>
> How do you print to windbg or DbgView from a user app?
>
> thanks,
>
>
It is possible but I believe in this case it is necessary to use kernel
mode capture in the DebugView. And verbose mode, according to functions
and filters used. The same rules as for drivers.
Best regards,
Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Pavel A.
Sent: Friday, May 07, 2010 1:53 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] how to print to windbg or DbgView from a user app?“Krzysztof Uchronski” wrote in message
> news:xxxxx@ntdev…
> > Try OutputDebugString API.
>
> Besides of this, usermode apps can call DbgPrint, DbgPrintEx,
> vDbgPrintExWithPrefix.
> They are exported from ntdll.dll, though not included in the
> export lib.
> GetProcAddress will get them.
>
> Regards,
> --pa
>
>
> > -----Original Message-----
> > From: xxxxx@yahoo.com [mailto:xxxxx@yahoo.com]
> > Posted At: Thursday, May 06, 2010 5:06 PM
> > Posted To: ntdev
> > Conversation: how to print to windbg or DbgView from a user app?
> > Subject: how to print to windbg or DbgView from a user app?
> >
> > How do you print to windbg or DbgView from a user app?
> >
> > thanks,
> >
> >
>
> —
> 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
>