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

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 10 13:15:50 PDT 2016

clayborg added a comment.

Is this something the user is typing in your IDE that you are forwarding to LLDB via pipes? Again, why are you using the command and not the API. There are API for everything you can do and no IDE should be doing code like:

void MyDebugger::ClearAllBreakpoints()

  m_debugger.HandleCommand("breakpoint delete");


Can you explain your use case here? If this is something the user is typing, then user PTY instead of pipes and all will be well. I know many functions in the lldb-mi are incorrectly implemented and they actually create and send LLDB commands using text and we need to fix this, so hopefully you aren't copying that code as a basis???


More information about the lldb-commits mailing list