我在调试 ASP.NET Core 2 应用程序时遇到问题。突然间应用程序中的所有断点都无法命中。
当前不会命中断点。没有调试器目标的可执行代码与此行相关联。
调试开始后断点工具提示中的消息是:
The breakpoint will not currently be hit. No executable code is associated with this line. Possible causes include: conditional compilation or complier optimizations, or the target architecture of this line is not supported by the current debugger code type.
最佳答案
我的解决方案是更改项目的构建属性。
项目属性-> 构建-> 高级(按钮)- 调试信息(选择框)-> FULL。
关于asp.net - 当前不会命中断点 - 没有可执行代码与此行相关联,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50306571/