36

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?

Lieven Keersmaekers
  • 57,207
  • 13
  • 112
  • 146
sarat
  • 10,512
  • 7
  • 43
  • 74

3 Answers3

53

Use the !EEStack command:

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

See SOS.dll (SOS Debugging Extension)

Thomas Weller
  • 55,411
  • 20
  • 125
  • 222
Justin
  • 84,773
  • 49
  • 224
  • 367
36

This command will dump all managed threads

~*e!dumpstack
Vadym Chekan
  • 4,977
  • 2
  • 31
  • 24
15

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.

JasonE
  • 894
  • 6
  • 8