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

wasm-node: On panic, load a separate Wasm source map and resolve the backtrace #1916

Open
tomaka opened this issue Jan 19, 2022 · 0 comments
Labels
blocked Can't work on this issue because it is blocked on something out of our control

Comments

@tomaka
Copy link
Contributor

tomaka commented Jan 19, 2022

After rust-lang/rust#34651 it should be possible to generate DWARF debug info for the Wasm node.
(see also https://github.com/WebAssembly/meetings/blob/main/debugging/2020/debugging-09-17.md#notes)

Assuming generating DWARF debug info works, we could tweak the JS code of the Worker to load these debug info when smoldot panics and resolve the panic backtrace.

This is all rather difficult and theoretical, so this is a long term issue.

@tomaka tomaka added the blocked Can't work on this issue because it is blocked on something out of our control label Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Can't work on this issue because it is blocked on something out of our control
Projects
None yet
Development

No branches or pull requests

1 participant