Disable “Break Mode” page in VS2015

2019-01-22 04:57发布

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?

6条回答
【Aperson】
2楼-- · 2019-01-22 05:34

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 =)

查看更多
一夜七次
3楼-- · 2019-01-22 05:35

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

查看更多
何必那么认真
4楼-- · 2019-01-22 05:35

Even i was having same problem and was tiered of searching 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) OCCURED Private Sub TextBox1_TextChanged(sender As Object, e As KeyPressEventArgs) Handles TextBox1.TextChanged CODE WHEN ERROR(Break mode) HAVEN'T OCCURED Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged

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

查看更多
Lonely孤独者°
5楼-- · 2019-01-22 05:42

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.

查看更多
闹够了就滚
6楼-- · 2019-01-22 05:46

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 )

查看更多
老娘就宠你
7楼-- · 2019-01-22 05:50

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.

查看更多
登录 后发表回答