加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net – 断点当前不会被命中 – 没有可执行代码与此行相关联

发布时间:2020-12-16 03:31:33 所属栏目:asp.Net 来源:网络整理
导读:我有一个问题来调试我的ASP.NET Core 2应用程序.突然之间,应用程序中的所有断点都无法被击中. 断点当前不会被击中.没有调试器目标的可执行代码与此行相关联. 调试启动后,断点处的工具提示中的消息是: The breakpoint will not currently be hit. No executa
我有一个问题来调试我的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.

解决方法

我的解决方案是改变项目的构建属性.

项目属性 – >构建 – >高级(按钮) – 调试信息(选择框) – >充分.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读