[lldb-dev] Support for Error Strings in remote protocol

Stephane Sezer via lldb-dev lldb-dev at lists.llvm.org
Wed Jun 21 16:18:13 PDT 2017

What's the specific use case that you're trying to support with error
messages in the protocol? My initial thought on this is that it's not
really the debug server's job to generate human-readable error messages and
that the debugger is better suited to do the job.

Can this problem be solved by extending the current integer list used for

On Wed, Jun 21, 2017 at 8:31 AM Ravitheja Addepally via lldb-dev <
lldb-dev at lists.llvm.org> wrote:

> Hello all,
>        Currently the remote protocol in LLDB does not allow sending Error
> Strings in response to remote packets, it only allows for "ENN" format
> where N is a hex integer. In our current ongoing work, we would like to
> have support for Sending Error Strings from lldb-server. I would like to
> invite any opinions or suggestions in this matter ?
> A very simple proposal would be to just attach an error string maybe as a
> Name:Value Pair ? like so ->
> EXX;"Error String"
>  or
> EXX;M"Error String"
> I guess removing EXX would make it incompatible with gdb-server. Also
> adding new packets to query errors might not be desired ?
> Regards,
> A Ravi Theja
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
Stephane Sezer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170621/79e2179b/attachment.html>

More information about the lldb-dev mailing list