I try to use the winDBG to debug a dump file. When I run .loadby sos mscorwks.dll
It gave me an error message. Unable to find module 'mscorwks.dll'
Has anyone seen this before?
Mscorwks.dll file, also known as Microsoft .NET Runtime Common Language Runtime - WorkStation, is commonly associated with Microsoft® .NET Framework. It is an essential component, which ensures that Windows programs operate properly. Thus, if the mscorwks.dll file is missing, it may negatively affect the work of the associated software.
It looks like WinDBG is looking for a dll INSIDE the mscorwks dll. 7,039 15 67 77 Looks like your analysing a .NET 2.0 assembly, but the loaded SOS is targeting .NET 4.0. Check out stackoverflow.com/questions/4373683/… Use the ".chain" command to see the order of extensions loaded.
The mscorwks.dll implements execution engine and native object, also calls mscorjit.dll (calls JIT). .NET application is executed mainly based on mscorwks.dll. Monday, April 23, 2007 6:39 AM All replies text/html4/19/2007 5:57:29 PMAaron B0 0 Sign in to vote
where mscorsvr is really really old (.NET CLR 1, server version), mscorwks is quite old (.NET CLR 1 and 2, but still around) , clr is common today (.NET CLR 4), coreclr might be increasing (UWP and Silverlight) and <somethingelse> is annoying (look at lm and find something that looks similar but has a number attached).
If you are debugging a .NET 4.0 application, you need to use the following instead of mscorwks
:
.loadby sos clr
Here is a good overview of the commands available for different versions of the FULL .NET framework. Enjoy!!
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