Visual Studio 2010 has at least 3 screen modes.
You must export the window settings after entering the desired screen mode (in your case, debugging).
Steps
- Start debugging your project.
- Move the necessary windows (watch / debug) to the second monitor on the right.
- Go to Tools> Import and Export Settings> Export Selected Environment Settings> General Settings> Window Layouts and export them to a file.
- Load settings using import options in the same window
Visual studio will remember your settings and move the window to the second monitor on the right, whenever you enter the "debug" mode.
As a hint, itβs a great idea to create macros to load window options and assign keystrokes to switch between window modes, depending on what type you are in.
to create a macro to import a vssetting file: DTE.ExecuteCommand ("Tools.ImportandExportSettings", "-import: VSSetting file path")
source share