ASP.NET:断点目前不会受到打击。无符号已加载这个文件 [英] ASP.NET: The breakpoint will not currently be hit. No symbols have been loaded for this document
问题描述
我是有这个问题了好几天。我终于想通了ASP.NET的程序员一个解决方法,我想我会分享。
I was having this issue for several days. I finally figured out a fix for ASP.NET programmers, and I figured I would share.
问题
设置断点,然后调试我断点会变成黄色带有感叹号之后。当鼠标悬停在该断点它会说:断点将目前尚未受到打击。任何符号已加载这个文件。我试图清理,改造,通过我的项目和Visual Studio改变各种设置。毫无效果。
After setting a breakpoint, and then debugging my breakpoint would turn yellow with an exclamation point. When hovering over the breakpoint it would say "The breakpoint will not currently be hit. No symbols have been loaded for this document.". I tried cleaning, rebuilding, changing various settings through my project and visual studio. Nothing worked.
推荐答案
解决方案
我是在解决方案的设置四处。我注意到,网络选项卡下我的开始行动
设置被设为当前页以外的东西。设置回当前页面后一切工作。
I was digging around in the Solution settings. I noticed that under "Web" tab my Start Action
setting was set to something other than "Current Page". After setting it back to current page everything worked out.
我希望这能解决问题的其他的像我想尽其他建议/应答,他们可以在互联网上找到后筋疲力尽的。
I hope this solves the issue for other's like me that were exhausted after trying every other suggestion/answer they could find on the internet.
这篇关于ASP.NET:断点目前不会受到打击。无符号已加载这个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!