在EX pression评估&QUOT内部错误;获取并QUOT;在"新增手表"尝试调试WCF服务code(MSVS 2013)函数时 [英] Get "Internal error in the expression evaluator" on "Add watch" function when trying to debug WCF service code (MSVS 2013)

查看:112
本文介绍了在EX pression评估&QUOT内部错误;获取并QUOT;在"新增手表"尝试调试WCF服务code(MSVS 2013)函数时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我前几天动了我的解决方案,以2013年MSVS它工作正常,除了一件事:当我想我的WCF服务它的工作原理,但是当我想看的任何变量的状态,它说的调试code: 在EX pression评估内部错误。添加监视功能适用于客户端正常的,但在服务code将其打破。我试图调试本地主机上我自己的WCF服务运行。你能帮助我,如何修复呢?

Few days ago I moved my solution to MSVS 2013. It works fine except one thing: when I trying to debug code of my WCF service it works, but when I want to watch state of any variable it says: "Internal error in the expression evaluator". Add watch function works normal on client side, but in service code it broken. I'm trying to debug my own WCF service running on the localhost. Could you help me, how to repair this?

下面MSV的信息:
微软的Visual Studio 2013专业版
版本更新12.0.30110.00 1
Microsoft .NET框架
版本4.5.51641
操作系统:Windows 8.1

Here MSVS info: Microsoft Visual Studio Professional 2013 Version 12.0.30110.00 Update 1 Microsoft .NET Framework Version 4.5.51641 OS: Windows 8.1

推荐答案

这可能是新的(管理)的错误调试引擎附带的Visual Studio 2013年尝试打开的管理兼容模式 (这有效地把它变成pre-2013调试引擎),位于工具 - 选项 - 调试

This might be a bug in the new (managed) debug engine that ships with Visual Studio 2013. Try turning on Managed Compatibility Mode (which effectively turns it into pre-2013 debug engine), located under Tools - Options - Debugging:

如果这样可以解决问题,那么我建议想用一个小的项目复制,然后在连接,因此它可以是固定的。

If this solves the issue, then I'd suggest trying to reproduce it with a small project, and then reporting it on Connect, so it could be fixed.

@bjhuffine 低于还有其他方法来启用兼容模式,没有在全球范围禁用它(例如每个项目)的意见。点击此处了解详情:<一href=\"http://blogs.msdn.com/b/visualstudioalm/archive/2013/10/16/switching-to-managed-compatibility-mode-in-visual-studio-2013.aspx\">http://blogs.msdn.com/b/visualstudioalm/archive/2013/10/16/switching-to-managed-compatibility-mode-in-visual-studio-2013.aspx

@bjhuffine comments below that there are other ways to enable compatibility mode, without globally disabling it (e.g. per-project). More information here: http://blogs.msdn.com/b/visualstudioalm/archive/2013/10/16/switching-to-managed-compatibility-mode-in-visual-studio-2013.aspx

这篇关于在EX pression评估&QUOT内部错误;获取并QUOT;在&quot;新增手表&QUOT;尝试调试WCF服务code(MSVS 2013)函数时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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