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!
Facebook Share
Latest Blog Posts
- More Facebook prototype tab apps
- New Police site launched
- Suspicious email from Hong Kong
- iPad Annoyances and Smiles
- How to optimise your iPad Photo Sync
- Facebook provides powerful new Status privacy settings
- UK O2 iPad Cellular Data Settings
- Facebook RSS aggregator on Fan Page tab
- A day on the farm at Woodlands
- New fragrance launched by Coldplay