Does anyone know whether it's possible to stop Visual Studio 2010 from rearranging its windows when you run a program in the debugger?
It's something that Visual Studio versions have done for as long as I remember - if I've understood it correctly, it has two settings for how to arrange its Windows - one for when it's in the debugger and one for when it isn't, and as soon as you start/stop the debugger it swaps between them. I've always found this a bit annoying - partly because if I want to put a particular Window somewhere, I don't want to have to separately tell VS to put it there twice (once in the debugger and once not) and partly because usually if I'm starting the program, it DOESN'T mean I also want to immediately lose my view of the bit of code I happened to be looking at just prior to hitting F5. So - anyone know if it's possible to switch that feature off, and have just one single arrangement of Windows?
It's easy to set your default layout: Arrange your windows the way you like, go to the Window menu in Visual Studio and pick Apply Window Layout > My Default. If you want you can setup several window layouts by picking Window > Save Window Layout. This choice gives you the option of assigning a name to your layout.
To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.
First, click and hold the title bar with the mouse, and then drag the window to where you want to dock it. Visual Studio displays some docking icons. Four icons are at the edge of the IDE, one each at the left, top, right, and bottom. These icons are used for docking the window at the given edge of the IDE.
There is no way to turn this off as it is by desgin.
Visual Studio comes with 4 window layouts: Design, Debug, Full Screen Mode, and File mode. You can get see more info some examples here:
http://blogs.msdn.com/b/zainnab/archive/2010/11/21/window-layouts-the-four-modes-vstipenv0051.aspx
http://blogs.msdn.com/b/zainnab/archive/2010/11/22/window-layouts-design-debug-and-full-screen-vstipenv0052.aspx
http://blogs.msdn.com/b/zainnab/archive/2010/11/23/window-layouts-file-view-vstipenv0053.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With