“无法计算表达式..."错误 [英] "Cannot evaluate expression..." error

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

问题描述

在 Visual Studio 2010 beta 2 中调试应用程序时突然出现以下错误.

All of a sudden I got the following error when debugging applications in Visual Studio 2010 beta 2.

"无法计算表达式,因为 a线程停止在一个点垃圾收集是不可能的,可能是因为代码是优化"

"Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code is optimized"

监视窗口中的几乎每个属性或字段都显示此消息.有谁知道发生了什么?以及如何摆脱它?

Almost every property or field in the watch window displays this message. Does anyone know what is going on? and how to get rid of it?

项目属性构建选项卡上的优化代码"复选框已关闭.

The checkbox "Optimize code" on the project properties build tab is turned off.

推荐答案

几天后我发现错误消失了......不知道是什么导致或解决了它......

After a few day I noticed the error was gone… No idea what caused or resolved it…

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

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