简体   繁体   English

调试远程进程

[英]Debugging a remote process

I have a general question about debugging a .NET process that has been built locally but deployed to a remote machine. 我对调试在本地构建但已部署到远程计算机的.NET进程有一个一般性问题。

If the process was built in DEBUG mode and was deployed WITH pdb's, is there any software or technologies available that allow you to hook in or attach to the process for debugging purposes without installing visual studio? 如果该流程是在DEBUG模式下构建的,并且已与pdb一起部署,是否有可用的软件或技术可让您在不安装Visual Studio的情况下挂接或附加到流程中以进行调试? Which would allow you to step through executing code? 哪一个可以让您逐步执行代码?

请参阅如何为初学者设置远程调试

Please keep in mind that remote debugging of managed code require two-way communication through RPC between debugger and debuggee. 请记住,托管代码的远程调试需要在调试器和被调试器之间通过RPC进行双向通信。 You need to grant mutual rights on both machines, open proper ports and make sure any firewall between will not block communication to either side 您需要在两台计算机上授予相互权限,打开适当的端口,并确保两者之间的任何防火墙都不会阻止与任何一方的通信

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

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