调试类库 [英] Debugging a Class Library

查看:124
本文介绍了调试类库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有几个类库在我的ASP.net Web应用程序。我已经没有问题,他们的调试后,突然,BAM!星期一早上我得到这个错误,我可以打任何破发点:

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:

以下模块建枯萎启用了优化或没有调试信息:

为了调试这个模块,改变它的项目生成配置调试模式。苏preSS此消息,禁用警告,如果没有用户code上推出调试器选项。

没有人有任何想法,是什么原因造成的?

Does anyone have any ideas as to what is causing this?

谢谢!

推荐答案

在Visual Studio中的顶部工具栏,那里有一个下拉表示是否与调试 - 建立当前解决方案或释放的配置。此下拉菜单通常位于旁边的玩 - 按钮你preSS为开始调试

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

这篇关于调试类库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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