Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I prevent Visual Studio from switching perspective in Debug mode? [duplicate]

Possible Duplicate:
How can you stop Visual Studio rearranging its Windows when debugging

Whenever I start debugging an application, Visual Studio moves my cheese.

How can I make it leave my cheese alone?

like image 484
John Gietzen Avatar asked May 06 '11 17:05

John Gietzen


People also ask

How do I change Debug perspective?

Switching back to another perspective after you're done debugging has to be: manual (mouse click) manual ("Switch Perspective" shortcut CTRL F8 ) automatic: Debug Perspective Auto Closer, which supplements bug 46336.

How do I keep debugging in Visual Studio?

In most languages supported by Visual Studio, you can edit your code in the middle of a debugging session and continue debugging. To use this feature, click into your code with your cursor while paused in the debugger, make edits, and press F5, F10, or F11 to continue debugging.

What is disable debug mode in VS code?

To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.

How do I change Debug config in Visual Studio?

In Solution Explorer, right-click the project and choose Properties. In the side pane, choose Build (or Compile in Visual Basic). In the Configuration list at the top, choose Debug or Release. Select the Advanced button (or the Advanced Compile Options button in Visual Basic).


2 Answers

The only solution is that you must arrange things twice. Afterwards it won't move "your cheese" except as you expected it.

Edit: duplicate of How can you stop Visual Studio rearranging its Windows when debugging

like image 74
CassOnMars Avatar answered Oct 20 '22 23:10

CassOnMars


This is a "feature" actually. The presumption is that you would want a different layout when debugging (ie, watch windows visible in debug, but not coding). I don't think there's a way to prevent it other than going into debug and manually moving things to match your coding layout.

like image 39
Tim Coker Avatar answered Oct 20 '22 22:10

Tim Coker