Posted 4 years ago by William Boroson

Yesterday I built a Biml solution in Visual Studio 2019 that worked fine. Today I opened Visual Studio to the same solution and I get a message box saying "Unable to load one or more breakpoints". I click 'Ok' and the solution continues to load. Once all of the SSIS packages finish loading, Visual Studio crashes. Not sure if I even have a breakpoint in any of the packages, but even if I did, I don't know how to delete it if VS keeps crashing before I can start editing any package. If I try to open the solution again, I see this warning:

A previous session ended unexpectedly. Disabling this extension BimlExpress 5.0.64108.0 might help.

I've tried uninstalling and reinstalling BimlExpress but that has no effect on the problem. Any ideas on how to fix this? So frustrated.

Posted 4 months ago by San Hanaa
It sounds like you're dealing with a frustrating issue. Here are a few steps you can try to resolve the problem:

1. Delete Breakpoints via Command Window:
•  Open Visual Studio without loading your solution.

•  Go to View > Other Windows > Command Window waffle game.

•  In the Command Window, type Debug.DeleteAllBreakpoints and press Enter. This should delete all breakpoints in your solution.

1. Clear Visual Studio Cache:
•  Close Visual Studio.

•  Navigate to %LocalAppData%\Microsoft\VisualStudio\16.0_xxxxx (replace 16.0_xxxxx with your specific version).

•  Delete the ComponentModelCache folder.

1. Reset Visual Studio Settings:
•  Open Visual Studio.

•  Go to Tools > Import and Export Settings > Reset all settings.

1. Update or Repair Visual Studio:
•  Make sure your Visual Studio is up to date.

•  If the problem persists, consider repairing your Visual Studio installation via the Visual Studio Installer.

1. Check for Corrupted Files:
•  Sometimes, corrupted files can cause crashes. Try deleting the .vs folder in your solution directory and then reopen the solution.
2. Disable Extensions:
•  Some extensions might cause issues. Try disabling all extensions and see if the problem persists. You can re-enable them one by one to identify the culprit.

If these steps don't resolve the issue, you might want to check the Visual Studio logs for more detailed error messages. You can find these logs in the ActivityLog.xml file located in %AppData%\Microsoft\VisualStudio\16.0_xxxxx.
Posted 3 months ago by Essa Mattou
Thanks for sharing this useful knowledge Head Soccer
Posted 3 months ago by Hubbard Robert
Interesting issue! VS2019 can be finicky with larger Biml solutions. Have you tried increasing the available memory for VS or checking for conflicting extensions? Sometimes, resource limitations can trigger these crashes. Could leveraging the Top Cloud providers help offload some of the processing and development tasks related to Biml? This might free up your local environment. Thanks for sharing, hoping for a solution!
Posted 22 days ago by shkeamn shkeam8

Do you Clear Breakpoints Manually?
 

Since Visual Studio crashes before you can access the packages, you can try clearing the breakpoints manually:

  • Delete the .suo File:
    • Navigate to your solution directory.
    • Look for a hidden file named *.suo (where * is your solution name).
    • Delete this file. It stores user-specific settings, including breakpoints.
  • Open a command prompt and run:
    
    	bash
    Copy
    devenv.exe /SafeMode
  • This will launch Visual Studio without any extensions. If you can open your solution, try to remove any breakpoints or issues from slope game there.

You must be signed in to post in this forum.