Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2017 "The application is in break mode visual studio 2017"

I was working on a C# console app and it was working fine until yesterday. When I am trying to run the same console application, it is not allowing me to debug, saying error as "The application is in break mode. Your app has entered a break state, but no code is currently executing that is supported by the selected debug engine (e.g. only native runtime code is executing)."

Did anyone faced a similar issue and resolved it earlier.

like image 951
sdg Avatar asked Oct 17 '22 04:10

sdg


1 Answers

I encountered this issue in a console app that was using a custom config section. See configSections element: If this element is in a configuration file, it must be the first child element of the configuration element.

Making the configSections element the first child of the configuration element resolved the issue.

like image 139
mcdon Avatar answered Oct 21 '22 07:10

mcdon