My Visual Studio is behaving strangely. I have no breakpoints in my projects but whenever I start Visual Studio, an error message comes up showing that it's unable to load one or more breakpoints. Secondly, I have 10 projects in my solution - I set one as a startup project but Visual studio is not saving this information. I have to set it every time I open the solution.
Re the breakpoint problem: Have you debugged into assembler? You might have accidentally set a breakpoint on some assembler instruction. Look into the breakpoint list (Debug->Windows->Breakpoints; it's Alt+F9 for me) to see which breakpoints are set for the solution. Of course, source and binary not matching might also cause this. Alternatively the following might help, too.
Re the startup project: Visual Studio saves all user-specific data regarding a solution in a *.suo
file which it puts right beside the *.sln
file. This might have gotten corrupted (although I've never seen this). Try to delete it and see whether this helps.
On a second thought, both problems might be caused by someone having checked in the *.suo
file located in a hidden .vs
directory. Have you checked this?