Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Breakpoints section has "All Exceptions" breakpoint missing and there's no way to add it manually #1715

Open
Saratsin opened this issue Jan 9, 2025 · 2 comments
Labels
area-dotnet-debugging Issues around .NET Debugging with console, ASP.NET, or Aspire bug Something isn't working

Comments

@Saratsin
Copy link

Saratsin commented Jan 9, 2025

Describe the Issue

I've struggled with the problem that "All Exceptions" breakpoint have just disappeared from my breakpoints section in Run and Debug tab.
I am using VS Code with C# dev kit and MAUI extensions in order to build and debug iOS and Android apps. "All Exceptions" breakpoint is crucial for development, actually it would be great to manually add exception breakpoints with some conditions and specific exception types, as we can in Visual Studio for Mac which is unforgivably abandoned by Microsoft.

Previously at least there were default "All Exceptions" and "Unhandled by user exceptions" breakpoints. But now, due to some unknown reason, these are gone. And now I can only manually add breakpoints, but there's no option for creating an Exception breakpoint. I've searched through the web and issues here for some possible solution, but unfortunately didn't find anything suitable, thus, please, help with finding at least some workaround or, maybe, possible solution.

P.S. Also, in the latest MAUI extensions preview you have removed the ability to disable the new debugger for .NET8+, which is very bad, since the new debugger doesn't work properly with iOS projects, at all.

Steps To Reproduce

  1. Run any .NET8.0 Android or iOS project
  2. Go to breakpoints section in run and debug

Expected Behavior

There's an ability to turn on All Exceptions breakpoint (or even create some custom exception breakpoint).

Environment Information

macOS Sonoma

@Saratsin Saratsin added the bug Something isn't working label Jan 9, 2025
@Saratsin
Copy link
Author

Saratsin commented Jan 9, 2025

Strangely enough, it is not the case for all of the projects. Some have "All Exceptions" and "User-Unhandled Excpeions" option, and some doesn't. Maybe someone could point out what can be the reason that it works that way

@AbhitejJohn AbhitejJohn added the area-dotnet-debugging Issues around .NET Debugging with console, ASP.NET, or Aspire label Jan 9, 2025
@AbhitejJohn
Copy link

@WardenGnaw : Would you have any thoughts here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dotnet-debugging Issues around .NET Debugging with console, ASP.NET, or Aspire bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants