ASP.NET Class Library not hitting break points

淺唱寂寞╮ 提交于 2019-12-01 13:24:24

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.

I've recently just written about this, but it basically boils down to VS getting attached to the wrong instance of IE. Try closing every single instance of IE down and try again.

There are many other reasons, but you should try this first.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!