6

Is there any Visual Studio addin/thing that will save the current set of open windows, bookmarks, and breakpoints, etc? Whenever I return to an issue, it takes a while to find reopen the appropriate classes, reset breakpoints, etc. Something that could load previously saved states for each issue would save a lot of time on issues that need to be readdressed several times in response to feedback.

Mark Jung
  • 61
  • 3
  • As far as I know, it already does that, saving these details in the `.user` and `.suo` files. See this: http://stackoverflow.com/questions/72298/should-i-add-the-visual-studio-suo-and-user-files-to-source-control – Oded Jun 02 '11 at 20:33
  • 1
    Oops, sorry, I meant saving states for different items, then being able to load them when you need to return. – Mark Jung Jun 02 '11 at 22:19

2 Answers2

2

As stated on visualstudio.uservoice such a feature kinda exists. You can group breakpoints by labeling them in the breakpoints window and then perform actions on group level. Those actions include enable/disable and even import/export. As the msdn link on that uservoice spage is already down, you should check the archived page.

mbx
  • 6,292
  • 6
  • 58
  • 91
0

Oded hinted at the answer here. Save off those files, particularly the .suo file (for your breakpoints and windows) at the moment you need that snapshot. Restore it (Open/Close solution as required) when you want those windows and breakpoints set as they were at the time of the file save.

John
  • 434
  • 2
  • 20
  • Although this works it has other implications and the user experience sucks - a typical workaround, but only a workaround. A "debug session state" incl. all breakpoints nice integrated in the UI shure makes sense. Sounds like a job for uservoice... – mbx May 30 '15 at 13:06