I've just rejoined a C# project and my breakpoints stopped working in Visual Studio 2005. Needless to say, this was hugely annoying.
It seems this is quite common though, Googling provided the following solutions :
- Disable "Just my code" setting in debugging options.
- Manually select "Managed code" when trying to attach to the IIS process at the start of debugging.
- Change project properties to "debug" instead of "release"
None of these helped me, and I was about to attempt some more arduous solutions such as:
- rebuilding the GAC
- deleting all temp files associated with my project.
...however, my helpful colleague Miklos worked out a fix. I had to :
- Rebuild All from my top level solution
- Then navigate to any page on the site, so that all DLLs are loaded
- Then (and only then) attach to process and debug as normal.
This works well for me on this particular project, thanks Mik!
- Airline Entertainment company iPad app
- London Web Summit 2012
- Highly charged viral Facebook campaign
- Celerity now runs on solar power
- Joomla site management
- Large corporate site build with content population
- Our office now has a wood stove!
- Templating for Mailshots
- Energy usage at Celerity
- Templating work for Contact Lens site