Search code examples
visual-studio-2010visual-c++crashbreakpointsdata-loss

Visual studio crash loses all newly set breakpoints


Whenever my installation of Visual Studio 2010 Professional crashes while running my VC++ application, I lose all breakpoints that I set during that session (other breakpoints from previous sessions remain), leading me to believe that breakpoints are only truly saved on project closing. Can anyone confirm this, and offer a useful tip (other than occasionally closing and reopening my project)?

Note: By session I don't mean debugging session but just the time period in which the project is open.


Solution

  • Do you change your breakpoints very often? It is possible to Export breakpoints for later re-use:

    http://weblogs.asp.net/scottgu/archive/2010/04/21/vs-2010-debugger-improvements-breakpoints-datatips-import-export.aspx