简体   繁体   English

远程桌面上的远程调试

[英]Remote Debugging on Remote Desktop

I'm currently developing a WPF-Program which is running on an external server. 我目前正在开发在外部服务器上运行的WPF程序。 I now have installed the Remote Debugger both on the server and on my notebook. 现在,我已经在服务器和笔记本电脑上安装了远程调试器。

For my tests, I don't install this program, just to save time .. but is there a chance, to Debug the *.exe file which is copied to the server? 对于我的测试,我不会安装此程序,只是为了节省时间..但是是否有机会调试复制到服务器的* .exe文件?

Thanks in advance! 提前致谢!

Go to Debug->Attach to process in VS menu.In the opened dialog inside Connection target box find your remote server through IP or hostname. 在VS菜单中转到Debug-> Attach进行处理。在Connection target框内打开的对话框中,通过IP或主机名找到远程服务器。 It will show the exe running on server (if you have run VS remote debugger MSVSMON.EXE running on server machine) .Click on attach button and then you can debug the exe. 它将显示在服务器上运行的exe(如果已在服务器计算机上运行VS远程调试器MSVSMON.EXE)。单击附加按钮,然后即可调试该exe。

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

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