views:

974

answers:

3

Hi all

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?

Best Regards,

+3  A: 

don't add .dll, try just ".loadby sos mscorwks"

Martin Moser
+1  A: 

If you have the .NET framework directory (e.g. c:\Windows\Microsoft.NET\Framework\v2.0.50727) in your path, you can just use

.load sos
Brian Rasmussen
+3  A: 

I had this issue as well and it turned out to be because the debugger was breaking into the app before the CLR was loaded. I had to let the app run throug further before I could do much of anything.

Doing this in windbg might help:

sxe ld:mscorlib
g
(... breaks again ...)
.loadby sos mscorwks

The 'sxe ld:..' stops on module load.

Russell Troywest