Blazor Debug article updates 8.0 #30440
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #30170
Addresses #28161
@wgrs ... This doesn't address everything that we discussed.
We won't document use of the C# Dev Kit until it reaches final release. If you're hitting problems with it, then open an issue at https://github.com/microsoft/vscode-dotnettools/issues (if the problem isn't already there opened by someone else).
For the rest of the scenarios here, the IDE guidance is almost fully working AFAICT. There's one bug with BWA debugging in VSC. The problem isn't that the
Counter
component in the.Client
project couldn't be debugged ... that was fine. It was anything added to the server app. No debugging in the server app works. This problem has been forwarded to the product unit for investigation. I don't know if they're investigating internally or if they opened an issue somewhere.I had very mixed results with the debugging a Blazor WASM app in the browser. The Firefox guidance worked with some minor tweaks to Dan's blog post guidance, so I'm placing some updates in that section. I flat-out can't get MS Edge debugging to work properly. I can get all the way to the Sources showing the pages and setting a breakpoint (e.g., in the
Counter
component), but I can't get the breakpoint to hit. Also, I was only even able to get that far when running the app via the .NET CLI, not via VS. Running via VS ended in very cryptic errors and a lot of 😢 trying to figure out what I might be doing wrong ... or if it's just a local machine issue that only affects my (new) PC.There are a number of updates here to clean up and better organize this topic. It had become messy over the years as we kept touching it with new and updated content.
I'll open a new issue with these follow-up items ...
I'll open the issue right after I merge this.
UPDATE: Issue opened at #30443. I'll get back to work on that on Monday.
Internal previews