Disable "Break Mode" page in VS2015

C#Visual StudioVisual Studio-2015

C# Problem Overview


Recently migrated from VS2010 to 2015. Now when I pause a running app to work on it, I get this very annoying "Break Mode" page with "The application is in break mode". Well, no shoot Sherlock, I pressed pause. I know its in break mode. The page is annoying and takes me away from the code I was going to work on completely unnecessarily.

I didn't get this annoying page in 2010. I may have some setting switched back then on 2010 but too long to remember.

Is there a way to disable this silly break mode page in VS2015?

C# Solutions


Solution 1 - C#

The best solution I've found so far is to drag the "Break Mode" tab to the bottom of your screen (so it is attached like a toolbar window) and make it as small as possible. Then when you pause and get this screen it at least doesn't cover your existing view.

Solution 2 - C#

There is a free extension to resolve this issue: Disable No Source Available Tab available for from the VS Market Place.

> This small extension will prevent the tool window with title "No Source Available" from appearing in Visual Studio, and preserve the focus on the currently active tab.

Solution 3 - C#

Under Tools → Options → Debugging → CHECK "Use Managed Compatibility Mode"

Solution 4 - C#

I had this annoying problem, too and did not realise, that i turned the Exception Settings to "Break on all exceptions". Then there where some Exceptions in external Code, where the debugger stopped, but I could not see the code, as it was in a Framework. Pretty annoying.

To reset Exception Settings in VS2017:

ctrl+al+e -> right click on the opening window -> reset to defaults

Maybe this helps someone =)

Solution 5 - C#

Dont use this primarily. Use atchoum's solution. its the BEST.

Another option:

I like to use the keyboard instead of the mouse, so I invoke a pause with CTRL + ALT + BREAK(or you can click pause) regardless this causes the annoying "Break mode" window to appear

When it comes up and assuming you still have the CTRL + ALT + BREAK keys held down- Just release the ALT and BREAK keys and hit the F4 key

This will close the annoying break mode window and take you to the page and spot your had the cursor on before you pressed the break combination of CTRL + ALT + BREAK.

So... in one foul swoop press
CTRL + ALT + BREAK (to enter break mode) and then
CTRL + F4 (to close the stupid "break mode" window and place the cursor where you were before you hit CTRL + ALT + BREAK )

Solution 6 - C#

I was having same problem and was tired of searching for a solution but, in end, I found out there was one error in my code at specific form; after changing that code I didn't got any break mode type error.

CODE WHEN ERROR (Break mode) OCCURRED

Private Sub TextBox1_TextChanged(sender As Object, e As KeyPressEventArgs) Handles TextBox1.TextChanged

CODE WHEN ERROR (Break mode) DIDN'T OCCUR

Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged

May be this can help so please check where and when your code triggers something.

Solution 7 - C#

To Disable "Break Mode" page go to:

> Tools --> Options --> Debugging --> General

Uncheck the checkbox of "Enable Just My Code"

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionWolfieView Question on Stackoverflow
Solution 1 - C#Code CommanderView Answer on Stackoverflow
Solution 2 - C#AtchoumView Answer on Stackoverflow
Solution 3 - C#Raship SaiyedView Answer on Stackoverflow
Solution 4 - C#modmotoView Answer on Stackoverflow
Solution 5 - C#Jared McCrackenView Answer on Stackoverflow
Solution 6 - C#dvijparekhView Answer on Stackoverflow
Solution 7 - C#Polyvios PView Answer on Stackoverflow