ASP.NET类库不打破发点 [英] ASP.NET Class Library not hitting break points

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

问题描述

我有使用VS2008的ASP.NET网页aplication。它曾经让我打我的破发点,但在本网站某些未知的原因,它不会让我打他们了。
我已经把一切都调试和重新建造的一万倍左右和其他一切,但似乎无法打那该死的破发点!破发点工作,为网站,但不是类库我加入,但他们用!!

I have an ASP.NET web aplication using vs2008. It used to let me hit my break points but for some unknown reason in this site it won't let me hit them any more. I have set everything to debug and re built about a million times and everything else but can't seem to hit that damn break point!!! Break points work for the site but not the class libraries I add in, but they used to!!

我看不到在web配置或改变什么配置什么。我已经添加了类库测试解决方案,做工精细。

I can't see anything in the web config or the configurations to change anything. I've added the class library to a test solution, works fine.

有没有人有什么想法?

推荐答案

只是为了确认,断点的网站,但不是为类库工作。这意味着,VS是附加到正确的实例。把一个破发点右键调用类库前,看看它是否会钻。如果视觉工作室不能生成用于调试的元数据,它在一个跳跃。确认您还可以从类库present PDB文件。
此外,如果您最近更新的类库,一定要停止卡西尼并重新启动。

Just to confirm, breakpoints work for the site but not for the class library. That means VS is attaching to the right instance. Put a break point right before the class library is invoked and see if it will drill in. If visual studio can't generate the metadata for debugging, it does a jump over. Confirm you also have the PDB file from the class library present. Also, if you've recently updated the class library, be sure to stop Cassini and restart.

这篇关于ASP.NET类库不打破发点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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