[英]Internal error in the expression evaluator when remote debugging msvsmon.exe VS2015 or unable to attach to the process. the rpc server is unavailable
System in written in C#
, .Net4.5
. 系统用
C#
.Net4.5
。 I am trying to remote debug one of our Web APIs. 我正在尝试远程调试我们的一个Web API。 I am using
msvsmon.exe
(2015) on server and running Visual Studio 2015
on my local. 我在服务器上使用
msvsmon.exe
(2015)并在我的本地运行Visual Studio 2015
。
I can connect to process no problem and breakpoints are being hit, I am also sure I am running same version of code as I manually copied over dll
and pdb
files from my local machine to the server. 我可以连接到进程没有问题和断点被击中,我也确定我运行相同版本的代码,因为我手动复制
dll
和pdb
文件从我的本地机器到服务器。
I can't even inspect strings when they are fired into endpoint I get Internal error in the expression evaluator
. 当它们被触发到端点时我甚至无法检查字符串我
Internal error in the expression evaluator
得到Internal error in the expression evaluator
。 To remedy this error offered solution is to tick the box on Managed Compatibility Mode
in Tools -> Options -> Debugging
however, when I do this, when I try to attach to process in debug window, I get unable to attach to the process. the rpc server is unavailable
要解决此错误, 提供的解决方案是在
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
. unable to attach to the process. the rpc server is unavailable
。 Solution to which offered is to untick that same box , lol. 提供的解决方案是解开同一个盒子 ,哈哈。
I have also tried in vain to enable Use the legacy C# and VB expression evaluators
in debug options but that didn't do any good. 我也试图在调试选项中启用
Use the legacy C# and VB expression evaluators
,但这没有任何好处。
I am sure someone by now have ran into this problem.... How do I inspect objects when remote debugging on VS2015? 我相信现在有人遇到了这个问题.... 如何在VS2015上进行远程调试时检查对象?
I met the error "unable to attach to the process. the rpc server is unavailable" before which was related to the firewall, like Hans Passant's suggestion, you could test it again after you close/disable the firewall or other third party tools. 我遇到了错误“无法附加到进程.rpc服务器不可用”,之前与防火墙有关,就像Hans Passant的建议一样,您可以在关闭/禁用防火墙或其他第三方工具后再次测试它。 Of course, you could also add your VS Devenv.exe to the Firewall allow list like this thread, debug it again.
当然,您也可以将VS Devenv.exe添加到此线程的防火墙允许列表中,再次进行调试。
https://cerkit.com/2014/08/12/remote-debugging-issue-with-asp-net-unable-to-attach-to-the-process/ 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.