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

Update Blazor WebAssembly debugging limitations #30824

Closed
danroth27 opened this issue Oct 24, 2023 · 0 comments · Fixed by #30849
Closed

Update Blazor WebAssembly debugging limitations #30824

danroth27 opened this issue Oct 24, 2023 · 0 comments · Fixed by #30849
Assignees
Labels
Blazor doc-bug Pri1 High priority, do before Pri2 and Pri3

Comments

@danroth27
Copy link
Member

Description

In the .NET 7 docs and earlier doc versions the Blazor WebAssembly debugging docs has a section that says "Unsupported scenarios for Blazor WebAssembly apps include:", but as far as I can tell, everything listed is actually supported. It looks like this was already fixed for the .NET 8 docs, but not the earlier doc sets.

Also, in the limitations section:

Limitation Status Addressed in
Break on unhandled exceptions. The debugger can break on unhandled exceptions, but Blazor currently catches all exceptions so they are all handled (see #42510). The workaround is to break when the exception is thrown. I think we should remove this item as a limitation and add a note about how to debug exceptions. .NET 6
Hit breakpoints during app startup before the debug proxy is running. This includes breakpoints in the Program file and breakpoints in the OnInitialized{Async} lifecycle methods of components that are loaded by the first page requested from the app. This is no longer a limitation .NET 6
Debug in non-local scenarios (for example, Windows Subsystem for Linux (WSL) or Visual Studio Codespaces). I think these scenarios are still unsupported. @thaysg? TBD
Use a symbol server for debugging. Addressed in .NET 8 .NET 8

Page URL

https://learn.microsoft.com/en-us/aspnet/core/blazor/debug?view=aspnetcore-7.0&tabs=visual-studio

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/debug.md

Document ID

4d06e565-282d-6387-aa90-cb2c2986d35a

Article author

guardrex

@danroth27 danroth27 added Source - Docs.ms Docs Customer feedback via GitHub Issue ⌚ Not Triaged labels Oct 24, 2023
@guardrex guardrex added Pri1 High priority, do before Pri2 and Pri3 doc-bug and removed Source - Docs.ms Docs Customer feedback via GitHub Issue labels Oct 24, 2023
@dotnet dotnet deleted a comment from github-actions bot Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blazor doc-bug Pri1 High priority, do before Pri2 and Pri3
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants