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) – Visual Studio Exception


Sathish Nadarajan
SharePoint MVP
Published On :   01 Mar 2018
Visit Count
Today :  3    Total :   4087



While creating a Console Application for the Cognitive Services, faced a strange exception as shown in the title.

“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)”

The steps followed are,

1. Open the Visual Studio. Create a New project – Console App.

clip_image002

2. Add the NuGet Package for Azure Speech Recognition.

clip_image004

clip_image006

clip_image008

3. Rebuild the Application.

4. Execute the Application and we will see the below exception.

clip_image010

5. We will not get a clear information on this Break Mode screen. Hence, look at the Output window.

clip_image012

6. It clearly says the problem of the statement.

clip_image014

7. Though the assembly is available, the application is not able to find the assembly.

8. To fix this, change the application property build settings.

clip_image016

9. From “Any CPU”, change to x64.

clip_image018

10. Now, execute, it will get executed.

Happy Coding,

Sathish Nadarajan.

Categories