mh4ck-Thales wrote:

> On the other hand, as a managed language, I think most people won't need to 
> read specific local/global of an instance, just like most of the JavaScript 
> developer won't care about the value of a register in V8 during debugging, 
> they just care about the value of their variables.

I agree that the average developer will not have much use of the possibility of 
accessing Wasm locals and globals. I also understand that Wasm locals and 
global are a very specific, Wasm-only concept and that adding this concept in 
LLVM core is not pertinent. However for people working on the inner workings of 
Wasm (like me), it may be very useful. I'm not sure it belongs to this PR but 
implementing support for accessing Wasm locals/globals in the future (using 
perhaps a command like `language wasm`) seems an interesting thing to do to 
complete the debugging experience on Wasm with lldb.

What I'm wondering is, does these potential added commands have an impact on 
this PR ? Or can we imagine commands that will send a specific, Wasm-only 
request to the debugging server to get the values of the variables without 
using the implementation of locals and globals of this PR ?

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