wasmtime: Wasm component module debugging - failure to step into the source code
https://github.com/bytecodealliance/wasm-tools/issues/1854
I am using a rust application that launches the wasmtime with debug_info() set to true and loads a WASM module that implements component module.
I use wasm-tools to get the module adapted to wasi by
wasm-tools component new ./target/wasm32-wasip1/debug/module1.wasm -o ./tests/data/wasm-modules/processor-module1-$(VERSION).wasm --adapt wasi_snapshot_preview1.reactor.wasm
I also confirmed that the wasm-tools objdump to see that the debug_info information exists.
now once I launch the debugger for the rust application, I am only able to step into a call() function and but not in the wasm module source code.
is there any other step am I missing?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 25 (6 by maintainers)
If you can get that example to reproduce your issue, then that sounds great. If you can’t get that example to reproduce your issue, then I’d suggest trying to make calls and link modules/components together in a similar shape as your private code in an effort to find something that will reproduce the bug.