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?

Lieven Keersmaekers
  • 55,505
  • 12
  • 105
  • 142
sarat
  • 9,954
  • 7
  • 39
  • 73

3 Answers3

50

Use the !EEStack command:

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

See SOS.dll (SOS Debugging Extension)

Thomas Weller
  • 49,619
  • 19
  • 114
  • 198
Justin
  • 82,493
  • 48
  • 216
  • 356
34

This command will dump all managed threads

~*e!dumpstack
Vadym Chekan
  • 4,485
  • 2
  • 29
  • 22
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
  • 884
  • 6
  • 8