无法加载SOS.dll扩展在Visual Studion 2012 [英] Unable to load SOS.dll extension in Visual Studion 2012

查看:208
本文介绍了无法加载SOS.dll扩展在Visual Studion 2012的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始阅读关于高级调试工具和技术的一些材料。我使用VS2012 Ultimate和目标框架是.NET 4.0。我到哪里,我需要一个调试会话过程中加载SOS.dll立即窗口的点,它是行不通的。

I've started to read some materials on advanced debugging tools and techniques. I use VS2012 Ultimate and the target framework is .NET 4.0. I got to the point where I need to load SOS.dll in the Immediate window during a debug session and it just doesn't work.

我想这些没有运气

  • .load SOS
  • .load sos.dll
  • .load C:\ WINDOWS \ Microsoft.NET \框架\ v4.0.30319 \ sos.dll

我总是得到这样的信息:

I always get this message:

无效EX pression术语'。

Invalid expression term '.'

所以,任何想法?我缺少的是在这里吗?

So, any idea ? What am I missing here ?

推荐答案

您可以更改此设置来解决这个问题:

You can change this setting to work around the issue:

在工具 - >选项 - > Debugging->常规,请选中复选框管理兼容模式。

Under Tools->Option->Debugging->General, check the box labeled "Managed Compatibility Mode."

这是修复该问题对我来说。此解决方法是从<一个href="http://connect.microsoft.com/VisualStudio/feedback/details/789601/-load-sos-does-not-works#">http://connect.microsoft.com/VisualStudio/feedback/details/789601/-load-sos-does-not-works#

That fixes the issue for me. This workaround is from http://connect.microsoft.com/VisualStudio/feedback/details/789601/-load-sos-does-not-works#

这篇关于无法加载SOS.dll扩展在Visual Studion 2012的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆