Skip to content

Conversation

@thaystg
Copy link
Member

@thaystg thaystg commented Aug 23, 2022

This will only happen when debugging from VS because we receive a Runtime.executionContextCreated and try to check RuntimeReady, then we call SendDebuggerAgentCommand and this was throwing an exception.

To force this behavior in the test case I created a new test case that will force a call to RuntimeReady in a non-wasm-page.

Fixes https://github.com/aspnet/AspNetCore-ManualTests/issues/1557
Fixes https://github.com/aspnet/AspNetCore-ManualTests/issues/1559
Fixes #74064

@thaystg thaystg requested a review from lewing August 23, 2022 15:42
@thaystg thaystg requested a review from radical as a code owner August 23, 2022 15:42
@ghost ghost added the area-Debugger-mono label Aug 23, 2022
@ghost ghost assigned thaystg Aug 23, 2022
@ghost
Copy link

ghost commented Aug 23, 2022

Tagging subscribers to this area: @thaystg
See info in area-owners.md if you want to be subscribed.

Issue Details

This will only happen when debugging from VS because we receive a Runtime.executionContextCreated and try to check RuntimeReady, then we call SendDebuggerAgentCommand and this was throwing an exception.

To force this behavior in the test case I created a new test case that will force a call to RuntimeReady in a non-wasm-page.

Author: thaystg
Assignees: -
Labels:

area-Debugger-mono

Milestone: -

@javiercn
Copy link
Member

@thaystg is there information we can collect to help speed up troubleshooting these types of issues?

@thaystg thaystg merged commit 7ad5248 into dotnet:main Aug 23, 2022
@thaystg
Copy link
Member Author

thaystg commented Aug 23, 2022

/backport to release/7.0

@github-actions
Copy link
Contributor

Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/2914633092

@ghost ghost locked as resolved and limited conversation to collaborators Sep 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

F5 to run Blazor WebAssembly App project, register and log in on the web page, then log out, click login again, the web page will be crash.

3 participants