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

[Heads-up] Upcoming WebAssembly Debugging changes in CDP #853

Closed
bmeurer opened this issue Dec 5, 2019 · 4 comments
Closed

[Heads-up] Upcoming WebAssembly Debugging changes in CDP #853

bmeurer opened this issue Dec 5, 2019 · 4 comments
Assignees
Labels
feature-request Request for new features or functionality

Comments

@bmeurer
Copy link

bmeurer commented Dec 5, 2019

Following up on microsoft/vscode-chrome-debug-core#193, I wanted to give everyone here a heads up that we are in the process of changing the way WebAssembly is exposed via the CDP (Chromium DevTools Protocol). Previously we had exposed individual functions as so-called fake scripts via the protocol, in a way that the engine gives you a text format. In the future we'll only expose one script per Wasm module, and will not provide the text format anymore, but only the raw Wasm wire bytes.

The Chromium DevTools front-end is going to turn that into text format instead, probably leveraging an improved version of https://github.com/wasdk/wasmparser (which is also used in Firefox DevTools).

Part of this is that source locations will be consistently represented in terms of Wasm wire byte offsets. http://bit.ly/devtools-wasm-interface contains background information around these changes.

cc @RReverser @hashseed

@roblourens
Copy link
Member

Thanks for the heads up! cc @connor4312

Is there an issue we can watch to track progress in v8 or the devtools frontend?

@bmeurer
Copy link
Author

bmeurer commented Dec 6, 2019

Yes, the tracking issue is chromium:1013527 as referenced from the http://bit.ly/devtools-wasm-interface document.

@connor4312 connor4312 transferred this issue from microsoft/vscode-chrome-debug-core Nov 9, 2020
@connor4312
Copy link
Member

connor4312 commented Nov 9, 2020

Thanks for the issue, this seems relatively straightforward to support.

@connor4312
Copy link
Member

We adopted this a while ago

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants