对于VS.NET理性“当前断点不会打”的警告? [英] Reason for VS.NET 'current breakpoint will not be hit' warning?

查看:126
本文介绍了对于VS.NET理性“当前断点不会打”的警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试调试控制器操作方法,当我附上处理调试图标变为空心,并说当前断点不会打

Trying to debug a controllers action method, and when I attach to process the debug icon goes hollow and says the 'current breakpoint will not be hit'

但我在这一点上做一个的Response.Write 和页面呈现时,它的输出测试文本。

But I am doing a response.write at that point and when the page renders it does output the test text.

所以确实正在执行的部分,为什么调试模式不工作?

So that section is indeed being executed, why does debug mode not work?

推荐答案

您源$ C ​​$ C可能比您连接到对应的过程的版本不同。您的其他方法也可以建在发布模式,即不存在调试信息。

Your source code may be different than the version of the corresponding process that you are attaching to. Your other process may also be built in release mode, i.e., there is no debug info.

这篇关于对于VS.NET理性“当前断点不会打”的警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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