远程调试无法命中断点 [英] Remote Debugging Not able to hit the breakpoint

查看:246
本文介绍了远程调试无法命中断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio版本专业2015更新3

Visual Studio version Professional 2015 Update 3

我正在尝试调试在远程上运行的进程机。我已经启动了Visual Studio远程调试监视程序,其中我必须调试的进程正在运行。在源代码所在的开发机器上,我可以附加
远程进程。但是当我设置断点时,它显示为空心圆而不是实心圆。将光标悬停在圆圈上说

I am trying to debug a process that is running on a remote machine. I have started Visual Studio remote debugging monitor program where my process that I have to debug is running. On development machine where the source code resides, I am able to attach the remote process. However when I set the break point, it shows up as hollow circle not the solid circle. And hovering my cursor on the circle says

"断点当前不会被点击。没有为此模块加载符号"。

"The breakpoints will not currently be hit. No symbols have been loaded for this module".

我可能做错了什么。

谢谢,

Sachin

推荐答案

>我可能做错了什么。

>What wrong I might be doing.

如果您正在调试托管(.Net)代码,请确保您还将.pdb文件复制到与远程

机器上的EXE / DLL相同的位置你正在调试。

If you're debugging managed (.Net) code, make sure you also copy the .pdb file to the same location as your EXE/DLLs on the remote
machine you're debugging to.

戴夫


这篇关于远程调试无法命中断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆