Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, May 5, 2020 8:40 PM
Microsoft sent a Notification in my Visual Studio 2019 that there is an update available, and I clicked on it and updated my VS. I got a message to close Visual Studio and then reopen, and ever since that update ( 15 minutes ago) I cannot run any project. The message I get is "The application is in Break Mode" 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).
What can I do? Should I uninstall and reinstall Visual Studio?
I look forward to your quick response.
Thank You
All replies (8)
Tuesday, May 5, 2020 9:15 PM
Try
- Close Visual Studio
- Deleting the project obj folder from explorer
- Open Visual Studio
- Select clean project from solution explorer
- Rebuild the project
- Try and run it
Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
NuGet BaseConnectionLibrary for database connections.
Wednesday, May 6, 2020 7:31 AM
Hi MosheS Singer,
You can try to press "Continue" button on the menu bar. And then re-debug your application.
If this issue isn't not solved, please go to the directory: "C:\Users\username]\AppData\Local\Microsoft\VisualStudio\16.0_2dff4ec8\ComponentModelCache" to delete the cache files.
Any feeback will be expected.
Best Regards,
Dylan
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]
Thursday, May 7, 2020 4:30 PM
Hi Dylan,
Thank you for replying to my question.
I deleted the cache files, closed my project, and reopened, and I am still getting the same error.
The msgbox reads as follows:
"An unhandled exception of type 'System.StackOverflowException' occurred in Unknown Module.
In the Break Mode window the following is displayed:
The Application is in break mode
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).
I re-downloaded the framework 4.8, but it didn't help.
Can you please help me find a solution to this?
I will be very appreciative.
Friday, May 8, 2020 8:18 AM
Hi MosheS Singer,
Please try to Tools->Options->Debugging->General, then enable "Use Managed Compatibility Mode".
BTW, did you suddenly interrupt the process of VS update before?
Best Regards,
Dylan
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]
Friday, May 8, 2020 2:21 PM
hi Dylan
Thanks for your Reply
in my project this line "Use Managed Compatibility Mode" is checked, i unchecked it and recheck it
it fall in to Break mode
the words "(typically system or framework code)" is Bold
Sunday, May 10, 2020 8:14 PM
Hi Dylan,
You had asked if I suddenly interrupted the process of VS update before, and the answer is that I allowed the system to fully update with the latest VS update, and that's when I started getting this message: Your app is in Break Mode.
Do you have a solution how to correct this problem?
Tuesday, May 12, 2020 7:36 AM
Hi MonsheS Singer,
Not sure what causes this issue, we suggest to download and run this collect.exe tool, which will collect update log, and then go to %temp% folder(C:\Users\username]\AppData\Local\Temp) and find the vslogs.zip file, upload it to https://onedrive.live.com/ and share the link here.
And we also suggest you can try to re-install visual studio directly if it's possible for you.
Best Regards,
Dylan
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]
Wednesday, May 20, 2020 8:06 AM
Dear customer,
Sorry to trouble you and just want to confirm that how about your issue? When you upgrade VS 2019 before, does the installation completed successfully without any error or warning message?
Please run the VS installer as administrator and click More-Repair to repair VS before you decided to re-install it, then check this issue again.
If you go to Tools-Options-Debugging-General and uncheck the option 'Just My Code', does this error message persists or not.
Best regards,
Sara
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]