Skip to content

feat: make wasm variable store work - #1805

Merged
Connor Peet (connor4312) merged 6 commits into
connor4312/wasm-1from
connor4312/wasm-12
Sep 20, 2023
Merged

Connor Peet (connor4312) merged 6 commits into
connor4312/wasm-1from
connor4312/wasm-12

Conversation

@connor4312

Copy link
Copy Markdown
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
Connor Peet (connor4312) merged commit 61a8b9f into connor4312/wasm-1 Sep 20, 2023
@connor4312
Connor Peet (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