繁体   English   中英

远程调试msvsmon.exe VS2015或无法附加到进程时表达式计算器中的内部错误。 rpc服务器不可用

[英]Internal error in the expression evaluator when remote debugging msvsmon.exe VS2015 or unable to attach to the process. the rpc server is unavailable

系统用C# .Net4.5 我正在尝试远程调试我们的一个Web API。 我在服务器上使用msvsmon.exe (2015)并在我的本地运行Visual Studio 2015

我可以连接到进程没有问题和断点被击中,我也确定我运行相同版本的代码,因为我手动复制dllpdb文件从我的本地机器到服务器。

当它们被触发到端点时我甚至无法检查字符串我Internal error in the expression evaluator得到Internal error in the expression evaluator 要解决此错误, 提供的解决方案是Tools -> Options -> Debugging中的Managed Compatibility Mode框中打勾 ,但是,当我这样做时,当我尝试在调试窗口中附加到进程时,我unable to attach to the process. the rpc server is unavailable unable to attach to the process. the rpc server is unavailable 提供的解决方案是解开同一个盒子 ,哈哈。

我也试图在调试选项中启用 Use the legacy C# and VB expression evaluators ,但这没有任何好处。

我相信现在有人遇到了这个问题.... 如何在VS2015上进行远程调试时检查对象?

我遇到了错误“无法附加到进程.rpc服务器不可用”,之前与防火墙有关,就像Hans Passant的建议一样,您可以在关闭/禁用防火墙或其他第三方工具后再次测试它。 当然,您也可以将VS Devenv.exe添加到此线程的防火墙允许列表中,再次进行调试。

https://cerkit.com/2014/08/12/remote-debugging-issue-with-asp-net-unable-to-attach-to-the-process/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM