-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Blazor browser crashes #25519
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
Comments
@connor4312 The debugging setup in Blazor is definitely a little different than a standard JS debugging experience. I'm a little surprised at the exception thrown here. It seems to be coming from the Chrome launcher itself, which comes into play before the Blazor app has launched. The entire flow for debugging Blazor WASM in VS Code looks something like this (assuming the user uses
You might have some more insights, @connor4312, about the exact ordering of 5-7. Perhaps the fact that the JS debugger communicates with the application server causes some issues here? Although I dunno why that would surface the stack traces we are seeing from Chrome. |
It seems like we haven't gotten any trace logs yet, so I've asked in the other issue to collect some. That should help understand the ordering. |
Thanks for contacting us. |
Please see attached for the trace logs |
That appears to be a separate issue, looks like the Blazor proxy is not running:
(thrown from |
Should I raise a separate issue for it then? Am I missing some setup? How do I run the Blazor proxy? |
@aventus13 You're in our repo now. Can you share the version of Blazor that you were using when you encountered this issue? Thanks, |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Thanks for contacting us. We're closing this issue as there was no community involvement here for quite a while now. You can learn more about our triage process and how we handle issues by reading our Triage Process writeup. |
And it still doesn't work :D I tried:
launch.json: {
"version": "0.2.0",
"configurations": [
{
"type": "blazorwasm",
"name": "Launch and Debug Blazor WebAssembly Application",
"request": "launch",
"browser": "edge",
}
]
}
|
@vchirikov Can you file another issue? The problem you are reporting is distinct from the one discussed here. |
@captainsafia I found the reason, it's occupied port 9222. |
I believe VS already uses a random port and VS Code looks for available ports on the machine to use (ref) so I'm not sure that would explain the issue. In any case, I'm glad you were able to find a resolution. |
@captainsafia your code doesn't work: |
_Originally posted by @vchirikov in microsoft/vscode-js-debug#405
I've been getting a steady trickle of reports on this from people using Blazor, reported on both Chrome and Edge. @digeff reports that they haven't seen this on VS, and I haven't received reports on this from any non-Blazor users. Is there anything Blazor is doing differently that could cause this? Trees to bark up would also be appreciated 😛
The text was updated successfully, but these errors were encountered: