Visual Studio 2017 breaks in debug mode and displays the message:
Your app has entered a break state, but there is no code to show because all threa
check your Ip address (it must be the same as the listening adress if you'r not using the loopbach address)
Most of the time this error occur when using visual studio form applications.
To solve this error you can go to your App.xaml
file and edit SratupUri
to your current xaml form name.
<Application x:Class="AppName.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="MainWindow.xaml">
<Application.Resources>
</Application.Resources>
</Application>
This occurred for me when I placed the connectionStrings config item in the wrong spot in app.config.
Click on "Continue execution"
Then you will have the stacktrace in the output tab
This solution is for people who get this error in WPF application. I got this error when i moved mainwindow.xaml to view folder and forgot to update in App.Xaml. after updating as StartupUri="View/MainWindow.xaml" the main window loaded without warning.
I had a similar issue when debugging a VSTO Excel add-in. After trying everything, I resolved the issue by disabling a realtime protection module on my antivirus software.