调试类库
我的 ASP.net Web 应用程序中有一些类库。我一直在调试它们,没有任何问题,然后突然,砰!周一早上,我收到此错误,并且可以命中任何断点:
以下模块是在启用优化或没有调试信息的情况下构建的:
要调试此模块,请将其项目构建配置更改为“调试”模式。要抑制此消息,请禁用“如果启动时没有用户代码则发出警告”调试器选项。
有人知道导致此问题的原因吗?
谢谢!
I have a few class libraries in my ASP.net Web Application. I have been debugging them with no problems then suddenly, BAM! Monday morning I get this error and I can hit any break points:
The following module was built wither with optimizations enabled or without debug information:
To debug this module, change its project build configuration to Debug mode. To supress this message, disable "warn if no user code on launch" debugger option.
Does anyone have any ideas as to what is causing this?
thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

在 Visual Studio 顶部的工具栏中,有一个下拉列表,指示是否使用调试配置或发布配置来构建当前解决方案。此下拉菜单通常位于您要
开始调试
的“播放”按钮旁边。http://msdn.microsoft.com/en-us/library/wx0123s5.aspx
In the toolbars at the top of Visual Studio, theres a drop-down indicating whether to build the current solution with debug- or release-configuration. This drop-down menu usually resides next to the "play"-button you'd press to
Start debugging
.http://msdn.microsoft.com/en-us/library/wx0123s5.aspx