开发者

How to print each function call during execution in WinDbg?

开发者 https://www.devze.com 2022-12-20 16:14 出处:网络
I am debugging an application written in VC++. How do i make WinDbg print the function name and all the values of the arguments to th开发者_JS百科e functions during execution of the debuged process?Ok

I am debugging an application written in VC++. How do i make WinDbg print the function name and all the values of the arguments to th开发者_JS百科e functions during execution of the debuged process?


Ok, i just found out that it can be done using the "wt" command.


Sorry for not giving a complete answer, but you might be able to join the dots with the suggestions I give.

First, here's and article to describe how to get the values of variable in WinDbg - you might be able to use this to get the parameter values.

Also, this blog has quite a number of WinDbg script example, this could help you write a script to do task you need.

Hope this helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消