“Unable to evaluate the expression” in Visual Studio 2012 Debug Mode

一笑奈何 提交于 2019-12-24 04:53:12

问题


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.

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 ?


回答1:


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.




回答2:


I had a similar problem and in my case it appeared that several devenv.exe instances were running, which caused the issue.



来源:https://stackoverflow.com/questions/23763921/unable-to-evaluate-the-expression-in-visual-studio-2012-debug-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!