WAMR Source Debugging With LLDB
Last updated
Last updated
To debug your application, you need to compile them with debug information. You can use -g
option when compiling the source code if you are using wasi-sdk (also work for emcc and rustc):
Then you will get test.wasm
which is a WebAssembly module with embedded DWARF sections. Further, you can use llvm-dwarfdump
to check if the generated wasm file contains DWARF information:
See .
See .