“无法计算表达式"在 Visual Studio 2012 调试模式下 [英] "Unable to evaluate the expression" in Visual Studio 2012 Debug Mode

查看:45
本文介绍了“无法计算表达式"在 Visual Studio 2012 调试模式下的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 Visual Studio 2012 安装意外地开始在我们在调试模式下观察变量的任何地方显示消息无法计算表达式".

My Visual Studio 2012 installation has unexpectedly started to show the message "Unable to evaluate the expression" everywhere where we watch variables in debug mode.

我已经按照一些修复程序的建议尝试更改了一些调试设置,但问题仍然存在.

I already tried to change some debug settings, as proposed by some fixes, but the problem stays there.

其他一些修复建议我们重新安装visual studio,我不想这样做.我们还能做些什么来修复它?

Some others fixes recommend us to re-install visual studio, which I wouldn't like to do. What more can we do to fix it ?

推荐答案

使用 工具 -> 导入和导出设置" 重置我所有的 Visual Studio 设置(允许您在重置前保存当前设置).

A reset in all my visual studio settings using "tools -> import and export settings" (which allow you to save the current settings before reset).

重置后,我的调试问题得到了修复.然后我导入了我保存的设置,问题保持不变,保留了我所有的原始设置.

After the reset my debug issue was fixed. Then I imported my saved settings and the problem stays fixed keeping all my original settings.

这篇关于“无法计算表达式"在 Visual Studio 2012 调试模式下的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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