VS远程调试

vs远程调试方法:

工具路径:D:\installersoftware\Microsoft Visual Studio\Common7\IDE\Remote Debugger\x64\msvsmon.exe

1、拷贝Remote Debugger目录到需要调试机器上

2、管理方式启动msvsmon.exe

3、Tools->Options:No Authorization&Allow any user to debug

4、自己工作机器上,打开VS

5、调试->Attach to Process->Transport :Romote,填写服务器IP(端口默认4020)

6、进程列表列选择需要远程调试的程序

7、配置pdb路径(debug->Options->Debugging->Symbols)

8、如果存在pdb未加载可以进行手动加载(debug->Windows->Module->…)

VS远程调试_第1张图片

 

VS远程调试_第2张图片

VS远程调试_第3张图片

 VS远程调试_第4张图片

你可能感兴趣的:(C++,ide,windows)