可能的确切重复:
VS.NET的当前断点的原因不会被警告?
为什么Visual Studio有时不会进入我的断点?
为什么调试器不能在我的ASP.NET应用程序中的断点处停止?
在调试时,修改后的源代码没有为特定的aspx页面命中断点,并且在断点处显示以下错误
"破解点目前不会被攻击.源代码与原始版本不同"
但对于其他页面它工作正常.
Zia*_*man 13
它对我有用.试试这个.
首先尝试通过右键单击项目重建项目>重建如果这不起作用,请尝试清理项目(在项目上单击鼠标右键>清除)
如果这不起作用,请检查:
Right mouse click your project
select [Properties]
select the [Build] tab
make sure [Define DEBUG constant] and [Define TRACE constant] are checked
Click the [Advanced] button at the bottom of the Build tabpage
Make sure that [Debug Info:] is set to [full]
Click [OK] and rebuild the project ;-)
Run Code Online (Sandbox Code Playgroud)
希望对你有用!(步骤6生成.pdb文件,这些是调试符号)
有时,如果从网络文件夹复制了源代码,则会使符号设置混乱。以下解决方案每次都对我有用
希望这可以帮助
| 归档时间: |
|
| 查看次数: |
23506 次 |
| 最近记录: |