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?
How to list call stack of all managed threads using WinDBG?
Asked Answered
Use the sos !EEStack
command:
0:007> .load sos
0:007> !EEStack
.loadby sos clr is better (for .NET 4) or .loadby sos mscorwks –
Jacqui
For .net 4 i downloaded the .net 4 version of sos, Psscor4 microsoft.com/en-gb/download/details.aspx?id=21255, place the dll into the windbg folder - matching the correct dll with the correct windbg version (32bit|64bit) then to load
.load Psscor4.dll
–
Missing @Mario see JasonE's answer –
Toot
!EEStack -short
–
Brownout This command will dump all managed threads
~*e!dumpstack
Note that this requires the appropriate debugging extension to be loaded first via
.loadby sos clr
–
Beebeebe Or
~*e!clrstack
–
Zalucki 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.
© 2022 - 2024 — McMap. All rights reserved.