无法评估前pression而调试 [英] unable to evaluate expression whilst debugging

查看:166
本文介绍了无法评估前pression而调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在调试asp.net code(运行针对IIS,并使用Visual Studio 2013),并在一个断点,并尝试使用快速监视来评估一个变量我经常得到无法评估前pression 。

When debugging asp.net code (running against IIS, and using Visual studio 2013) and in a breakpoint and trying to evaluate a variable using quick watch i quite often get "unable to evaluate expression".

在asp.net项目文件夹删除似乎名为.suo解决该问题(重装解决后)

deleting the .suo from the asp.net project folder seems to resolve the issue (After reloading the solution)

这是一个公认的bug?现在得到这个有很多在Visual Studio 2013多台机器上。

Is this a recognised bug? getting this a lot now in Visual studio 2013 on more than one machine.

推荐答案

今天我面对它与VS2013。

I faced it today with VS2013.

转到工具 - >选项 - >调试 - >常规 - >
      滚动至底部的使用管理的兼容模式,选择该选项。

Goto Tools --> Options --> Debugging --> General --> Scroll to the bottom for "Use Managed Compatibility Mode" and Select the option.

从博客(以下URL)截图:

请重新启动调试。希望它可以帮助别人。

Screenshot from the blog(url below): Restart you debugging. Hope it helps others.

什么帮助了我小于!


      
  • <一个href=\"http://weblog.west-wind.com/posts/2013/Nov/21/Visual-Studio-2013-Could-not-evaluate-Ex$p$pssion-Debugger-Abnormality\">Visual工作室2013无法评估前pression调试异常
      原来是非常有益的。

  • Visual Studio 2013 Could not evaluate Expression Debugger Abnormality turned out to be very helpful.

此外,你可以看到@Dreamers答案无法使用的Visual Studio 2013 调试管理code

Also, you could see @Dreamers answer Unable to debug managed code using visual studio 2013

这篇关于无法评估前pression而调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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