How to list call stack of all managed threads usin

2019-02-04 06:32发布

问题:

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.