Does wasmtime offer any debugging facilities? Specfically, I'm using the Chrome debugger now but it's fragile and buggy, I'd rather have a proper debugger and run the WASM bits out of process.
Yes. If you pass -g
wasmtime will generate native debuginfo from the embedded wasm debuginfo and register it to the native debugger (gdb or lldb).
and if you're embedding wasmtime, you can make enable debugging via the embedding API, in Rust and using the C API
Thanks.
Reminds me, how do you guys generally deal with Browsers being massively behind, feature wise compared to cranelift's wasm support?
(Things like EH, Interface types etc)
Last updated: Dec 23 2024 at 12:05 UTC