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?
In my case i use INavigationAware which was throw new NotImplementedException(); i just remove those
In you all project update all from nuget.
Clean and rebuild you project.
I got this situation when my "Platform Target" in my Project Properties was set to "Any CPU" and "Prefer 32-bit" was selected.
I switched Platform Target to "x64" since I am using 64-bit assemblies and then I could run/debug normally.
Error: IOException Cannot locate resource
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 editSratupUri
to your current xaml form name.Click on "Continue execution"
Then you will have the stacktrace in the output tab
Check for any case of circular dependency while injecting dependencies.
First drag the
Break Mode Window
to theCall Stack Window
to get an overview again.Then, check whether the
Solution Explorer Window
is in source mode. The 4th button from the left has a drop-down. Make sure the *.sln, i.e. classic solution mode is selected.I didn't know this and was surprised to find that in "source mode", i.e. the other possibility, the above mentioned message is displayed.