Good day. I'm trying to get a thread dump (stack trace and state for each running thread) in a .net 4 framework application.
Managed Stack Explorer doesn't do the trick for .net 4 I presume (I can't really find info on it), it shows only .net 3.5 and down applications.
Process explorer does give a thread dump, but with start addresses rather then stack trace which isn't very helpful.
Any ideas?
Are you on Vista or Windows7?
Are you on 32 or 64bit?
Right click the process in Task Manager and select 'Create Dump File'. You can then drag the DMP file into Visual Studio (as long as its a .NET4 process) and view the information you require. see here for more information.
shameless plug See also my post on all the issues you might encounter obtaining and analyzing a dump file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With