调试时未达到断点 [英] break point is not hitting while debugging

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

问题描述

可能的精确重复项:

VS.NET当前的原因断点不会被打'警告?
为什么Visual Studio有时不能转到我的断点?/a>
为什么调试器不会在我的ASP.NET应用程序的断点处停止?

调试时,修改后的源代码未在特定的aspx页面上击中断点,并且在断点处显示以下错误

while debugging,the modified source code the break point is not hitted for a particular aspx page and the following error is shown in the break point

当前不会找到断点.源代码与原始版本不同"

"the break point will not be currently hit.the source code is different from the original version"

但是对于其他页面,它工作正常.

but for other page it is working fine.

推荐答案

有时,如果从网络文件夹中复制了源代码,则会使符号设置混乱.下面的解决方案每次都对我有用

Some times this occurs if the sourcecode is been copied from the network folder, it messes up the symbol settings. Below solution works for me everytime

  • 在调试模式下,选择debug-> windows-> modules
  • 检查您的dll symbolStatus.确保已将其加载到该项目(我现在确定状态尚未加载)
  • 右键单击您的dll,单击符号设置.
  • 并手动添加符号路径(.pdb文件路径)
  • 然后再次右键单击dll,然后单击加载符号

希望这会有所帮助

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

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