I am looking to print stack trace from within a particular function of my
driver code, that appears in windbg
whenever that code path gets hit..
Is there such an api/function to do so?

Re: Is there a api/call to print stack trace to windbg from within my driver? by Don

Don
Mon Dec 25 11:48:19 CST 2006

You can use a command string on a breakpoint, to have it invoke a stack
trace and continue. There is no call you can insert in your code to do
this.

--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply




"Praveen Kumar Amritaluru" <apraveen.kumar@gmail.com> wrote in message
news:uihCltEKHHA.4376@TK2MSFTNGP03.phx.gbl...
>I am looking to print stack trace from within a particular function of my
>driver code, that appears in windbg
> whenever that code path gets hit..
> Is there such an api/function to do so?
>
>



Re: Is there a api/call to print stack trace to windbg from within my driver? by Ivan

Ivan
Mon Dec 25 12:08:14 CST 2006

Please search the debugger documentation for `.ocommand`
for waht is available

--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Don Burn" <burn@stopspam.acm.org> wrote in message
news:%23fwJkzEKHHA.5104@TK2MSFTNGP06.phx.gbl...
> You can use a command string on a breakpoint, to have it invoke a stack
> trace and continue. There is no call you can insert in your code to do
> this.
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> http://www.windrvr.com
> Remove StopSpam from the email to reply
>
>
>
>
> "Praveen Kumar Amritaluru" <apraveen.kumar@gmail.com> wrote in message
> news:uihCltEKHHA.4376@TK2MSFTNGP03.phx.gbl...
>>I am looking to print stack trace from within a particular function of my
>>driver code, that appears in windbg
>> whenever that code path gets hit..
>> Is there such an api/function to do so?
>>
>>
>
>



Re: Is there a api/call to print stack trace to windbg from within by pavel_a

pavel_a
Tue Dec 26 06:45:00 CST 2006

"Ivan Brugiolo [MSFT]" wrote:
> Please search the debugger documentation for `.ocommand`
> for waht is available
>

It says "user mode only"

--PA