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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to