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

feat: make wasm variable store work #1805

Merged
merged 6 commits into from
Sep 20, 2023
Merged

Conversation

connor4312
Copy link
Member

This is part 2 in a stacked PR. This will get merged down into a single PR after all of them are reviewed

This commit implements the "variables" view in WebAssembly It introduces new types in the VariableStore that handle WebAssembly (though this is tweaked and cleaned up slightly in a later stack.) The actual call is pretty simple, listVariablesInScope on the worker lists variables, and then we can get their properties.

Also, this PR moves the debugger to have a strong preference for setting breakpoints by URL. This makes breakpoints behave better on reload, which is important because there is no instrumentation pause for WebAssembly. Having looked a little in the Chrome debugger, they actually never set breakpoints by script ID any more, so this follows in their footsteps.

* implement inlined method handling and improve stepping

* update tests
feat: prompt to install extension on wasm step
feat: make wasm inline breakpoints work
@connor4312 connor4312 merged commit 61a8b9f into connor4312/wasm-1 Sep 20, 2023
1 of 7 checks passed
@connor4312 connor4312 deleted the connor4312/wasm-12 branch September 20, 2023 02:07
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.

2 participants