简体   繁体   English

VS2010成功加载了SOS.dll,但在我的64位OS上无法使用其他命令

[英]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: 如您所见,我使用VS2010 Professional加载sos.dll,但是其他命令无法使用,并继续引发Exception,如下所示:

.load sos.dll extension C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\sos.dll loaded .load sos.dll扩展名C:\\ Windows \\ Microsoft.NET \\ Framework \\ v4.0.30319 \\ sos.dll已加载

!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 !clr.dll的clr.dll PDB符号未加载OS线程ID:0x6d4(1748)子SP IP调用站点0028f2b8 00370094 ConsoleApplication1.Program.Main(System.String []) 命令期间错误:IDebugClient要求使用未实现的接口

0028f528 699e21bb [GCFrame: 0028f528] 0028f528 699e21bb [GCFrame:0028f528]

My pc runs on 64Bit Win7 ,can that be the problerm? 我的电脑在64位Win7上运行,这可能是问题吗?

Can anyone help me?Really appreciated! 有人可以帮我吗?非常感谢!

Have you enabled "Unmanaged code debugging"? 您是否启用了“非托管代码调试”?

See this link: 看到这个链接:

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

Did you upgrade to .NET 4.5? 您是否已升级到.NET 4.5? It appears that can cause issues. 看来可能会引起问题。

Unable to launch SOS.dll using VS 2010 无法使用VS 2010启动SOS.dll

I know in WinDBG you can issue this command: 我知道在WinDBG中可以发出以下命令:

.loadby sos clr

This causes it to load the sos.dll that is in the same directory as the clr. 这将导致它加载与clr在同一目录中的sos.dll。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM