[Lldb-commits] [lldb] [lldb] Implement WebAssembly debugging (PR #77949)

Quentin Michaud via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 25 05:23:23 PST 2024


mh4ck-Thales wrote:

I already tried to use `register read` to access Wasm variables without success. But it was the patch available [here](https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/build-scripts/lldb_wasm.patch) is part of WAMR, maybe this patch is different and will make it work. I tried using this patch without success.

It seems like compiling lldb with this patch and use it to debug Wasm with the latest version of WAMR / iwasm do not work correctly (at least for me). lldb can connect to the server embedded into iwasm but doesn't seem to be able to disassemble Wasm bytecode or set breakpoints. Just giving the info here because I'm not sure this patch is supposed to be straightaway compatible with WAMR. 

https://github.com/llvm/llvm-project/pull/77949


More information about the lldb-commits mailing list