mh4ck-Thales wrote:

Thanks for picking up the work on this!

> I'm not aware of any other runtimes besides WAMR that support debugging 
> through GDB remote. Of all the approaches, I think it's the most "desirable" 
> going forward. The fact that there is a ByteCode Alliance runtime that 
> supports it makes it even more compelling.

I agree that this is the best method for implementing Wasm debugging. We want 
to be able to debug the Wasm user program transparently, on any supported 
without having to deal with runtime-related specificities.

>We will need to state which runtime we intend to support and one from the 
>people writing the standard is the best choice I agree.
>
> I suppose it running on small devices that cannot host a browser is why they 
> went that way, do the debugger UI stuff elsewhere.

For now only WAMR supports remote debugging with lldb, but I think (hope?) that 
other runtimes will be supported in the future. In this situation maybe it 
would be nice to discuss with the Bytecode Alliance what is expected from such 
a feature and if we can somewhat standardize it, so other runtimes know what 
they have to implement in order to support it. I'm bringing @alexcrichton into 
the loop, he's involved in the Bytecode Alliance and LLVM, maybe he'll be able 
to help us on these topics.

https://github.com/llvm/llvm-project/pull/150143
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to