Skip to content

fix: Blazor sources sometimes being missing #1716

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

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

connor4312
Copy link
Member

Ref dotnet/runtime#86754

A true fix is being applied in .net, but this will take time to trickle down.

Ref dotnet/runtime#86754

A true fix is being applied in .net, but this will take time to trickle down.
@connor4312 connor4312 enabled auto-merge (squash) June 7, 2023 23:11
@connor4312
Copy link
Member Author

Build appears to be a flake

@@ -1412,18 +1412,19 @@ export class Thread implements IVariableStoreLocationProvider {
// Hack: Node 16 seems to not report its 0th context where it loads some
// initial scripts. Pretend these are actually loaded in the 2nd (main) context.
// https://github.com/nodejs/node/issues/47438
if (
Copy link
Contributor

@rzhao271 rzhao271 Jun 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this block and/or the comment right above it still needed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No -- instead of reassigning the execution context ID's from Node to id 1 which they do emit, we instead automatically create the missing execution context when a scriptParsed event comes in.

@connor4312 connor4312 merged commit 2fbe263 into main Jun 8, 2023
@connor4312 connor4312 deleted the connor4312/dotnet-86754 branch June 8, 2023 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants