How to list call stack of all managed threads using WinDBG?

倾然丶 夕夏残阳落幕 提交于 2019-11-29 01:42:49

问题


I have a dump created from a managed application. I am using SOS/SOSEX extentions to ease my dump analysis. I'd like to list down the call stack of all managed threads as we do ~*kb with native applications. How do we do that?


回答1:


Use the sos !EEStack command:

0:007> .load sos
0:007> !EEStack

See SOS.dll (SOS Debugging Extension)




回答2:


This command will dump all managed threads

~*e!dumpstack



回答3:


with sosex, use ~*e!mk (~ - thread, * - all, e - execute this command, !mk - display managed stack. Most of the commands in sosex mirror the native command, but have the m (managed) in front of them.



来源:https://stackoverflow.com/questions/8150101/how-to-list-call-stack-of-all-managed-threads-using-windbg

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!