[Lldb-commits] [PATCH] D23290: Added enforce-interactivity setting

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 10 11:02:08 PDT 2016


clayborg added a comment.

In https://reviews.llvm.org/D23290#511433, @joshimbriani wrote:

> In https://reviews.llvm.org/D23290#511275, @clayborg wrote:
>
> > Can you explain the scenarios where you are going to use LLDB with pipes?
>
>
> Sure! Essentially we are duplicating some of the functionality of the command line, specifically when commands need confirmation (like process handle or breakpoint delete). We are interacting with LLDB to confirm these commands via pipes. And since pipes aren't inherently interactive, we need a way to override the interactivity check so that LLDB will give us the output we want, regardless of whether we are using pipes or not.


I think we all got that part. The question is why are you interacting via text input/output and not using the C++ API?


https://reviews.llvm.org/D23290





More information about the lldb-commits mailing list