Your app has entered a break state, but there is no code to show because all threads were executing external code (typically system or framework code)

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 threads were executing external code (typically system or framework code).

The message is in the Break Mode Window.

What to do?


Solution 1:

Click on "Continue execution"

enter image description here

Then you will have the stacktrace in the output tab

enter image description here

Solution 2:

  1. First check all your common exception setting run time in your visual studio so that you can get the actual error.

enter image description here

  1. During loading you application check that is their any method which is throw new NotImplementedException();

In my case i use INavigationAware which was throw new NotImplementedException(); i just remove those

  1. In you all project update all from nuget.

  2. Clean and rebuild you project.

Solution 3:

In my case I just need to restore the list of exception settings to the default settings. Restore button