I searched and tried a lot of things, but can't get psscor4 to work properly.
When I invoke !threads, I'm always getting
Failed to request ThreadStore
The things I checked are as follows:
CLR DLL status: Loaded DLL C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscordacwks.dll
Does anybody have an idea?
The problem is you're debugging .NET 4.5. PSSCOR4 won't work with .NET 4.5. I also suspect that you're running .NET 4.0 on your debugging machine, which would cause your SOS not to work either. In order to debug .NET 4.5, you need .NET 4.5 SOS and/or SOSEX (which works for all versions of .NET 2.0+).
I've found this problem to happen when either:
OR
The Symbol Search Path should be set to something like:
SRV*C:\SYMBOLS\PUBLIC*http://referencesource.microsoft.com/symbols;SRV*C:\SYMBOLS\PUBLIC*http://msdl.microsoft.com/download/symbols
You can also try the solution that is posted on John Robbins' blog here: http://wintellect.com/blogs/jrobbins/automatically-load-the-right-sos-for-the-minidump
Please note that I was able to get his solution to work only with WinDbg version 6.2+ - version 6.12 and below didn't work.
HTH
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