Search code examples
c#.netwindbgsos

VS2010 loaded SOS.dll successfully but other commands can't be used on my 64bit OS


As you see,I use VS2010 Professional to load sos.dll ,but other commands can't be used and continues throw an Exception,like this:

.load sos.dll extension C:\Windows\Microsoft.NET\Framework\v4.0.30319\sos.dll loaded

!clrstack PDB symbol for clr.dll not loaded OS Thread Id: 0x6d4 (1748) Child SP IP Call Site 0028f2b8 00370094 ConsoleApplication1.Program.Main(System.String[])Error during command: IDebugClient asked for unimplemented interface

0028f528 699e21bb [GCFrame: 0028f528]

My pc runs on 64Bit Win7 ,can that be the problerm?

Can anyone help me?Really appreciated!


Solution

  • Have you enabled "Unmanaged code debugging"?

    See this link:

    http://social.msdn.microsoft.com/Forums/is/vsdebug/thread/04e1f64a-aea6-4516-b75d-e4cb1ac0f872

    Did you upgrade to .NET 4.5? It appears that can cause issues.

    Unable to launch SOS.dll using VS 2010

    I know in WinDBG you can issue this command:

    .loadby sos clr
    

    This causes it to load the sos.dll that is in the same directory as the clr.