chelcassanova wrote:

Thanks for responding! I'll add a section on testing the tool itself (which we 
do with shell tests) and testing the interfaces (which we do by running the 
main LLDB API test suite against liblldbrpc).

> Also, is there a way for a developer to set up an lldb-rpc based session? If 
> we have an issue that only happens over lldb-rpc. Which in theory we won't, 
> but we might think we do and need to check that.

Both the RPC client and server are built as binaries that each have a main. The 
RPC core code contains the functionality for a client binary to connect to RPC 
and then interface with the `lldb-rpc-server` binary, so Xcode isn't the only 
way to create a session. This is how we set up the API test suite for RPC, as 
Python is used as the client binary for the RPC session.

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

Reply via email to