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

fix(inspector): crash on "Debugger.setBlackboxPatterns" #24204

Merged
merged 7 commits into from
Jun 14, 2024

Conversation

bartlomieju
Copy link
Member

Closes #24196

@littledivy littledivy changed the title [WIP] fix(inspector): panic on "Debugger.setBlackboxPatterns" fix(inspector): panic on "Debugger.setBlackboxPatterns" Jun 14, 2024
@littledivy littledivy changed the title fix(inspector): panic on "Debugger.setBlackboxPatterns" fix(inspector): crash on "Debugger.setBlackboxPatterns" Jun 14, 2024
littledivy added a commit to denoland/deno_core that referenced this pull request Jun 14, 2024
V8 uses the default context for internal things
https://chromium.googlesource.com/v8/v8/+/refs/heads/main/src/inspector/v8-inspector-impl.cc#356

With this PR, deno_core will create a new default context during
snapshot and add deno_core's context separately (as the last context of
the snapshot)

Ref denoland/deno#24204

Fixes denoland/deno#24196
Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

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

LGTM

@bartlomieju bartlomieju merged commit 184a85e into denoland:main Jun 14, 2024
17 checks passed
@bartlomieju bartlomieju deleted the fix_inspector branch June 14, 2024 21:52
bartlomieju added a commit that referenced this pull request Jun 18, 2024
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.

Broken debugger
2 participants