Examples showing how to use the DSM addin
Once the plugin is installed, a new toolbar will be added inside the VS IDE (the crappy disabled images are due to a limitation on visual studio extensibility API :)
Open a couple of files on the VS IDE and save a new session named "First Session" by pressing the "Save Session As" button
Close the files and open another (different) file, then save another session named "Second Session", also by pressing the "Save Session As" button
Now, let's load the "First Session" using the "Load Session" button
The files saved under the first session are opened (and all other files are closed)
Now, load the "Second Session", but now do it by selecting it on the combo box and pressing the "Reload Session" button
The file saved under the second session is opened (and all other files are closed)
Now, let's try the to overwrite the first session we saved. Open some other file, and press "Save Session As" button, select the "First Session" and hit "Replace"
"Delete Sessions" and "Save Session" features should be very intuitive now, so I'm not going to show the details of those commands
Every time a file is closed by the addin, it's added to the "Recently Closed Documents" list. From that list you can open a document by double-clicking on it
Now, let's try the automatic debugging session feature. Open any runnable project and open a couple of files. Add a breakpoint on any place of the code that is going to be executed and run the project.
While on the breakpoint, close any document and open some other documents. Hit F5 to continue the execution of the program until it's end (you can also hit Shift+F5 to Stop Debugging if you want to). Once the execution is stopped, the addin will prompt
the user if she/he wants to reopen the documents as they were before debugging. Hit OK
The documents that were open before the debugging started are restored and all other documents are closed. If you want to re-open any of the documents that the addin closed, you can do it using the "Recently Closed Documents" feature.