调试类库

发布于 12-25 17:20 字数 253 浏览 3 评论 0原文

我的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你丑哭了我2025-01-01 17:20:37

在 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文