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

38,504

Solution 1

Use the !EEStack command:

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

See SOS.dll (SOS Debugging Extension)

Solution 2

This command will dump all managed threads

~*e!dumpstack

Solution 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.

Share:
38,504
sarat
Author by

sarat

A guy who lives in the intersection of technology and humanity!

Updated on August 19, 2020

Comments

  • sarat
    sarat almost 4 years

    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?