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
Same here. Reinstalling VS 2019 solved it.
In my case I just need to restore the list of exception settings to the default settings.
Observed same error and resolved it by:
First drag the Break Mode Window
to the Call 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.
I got this when I accidentally set the startup project to a class library instead of the end project (in this case, a WPF application).
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.