[Lldb-commits] [lldb] [lldb] Real-time console pane for output in lldb tui (PR #177160)
Nagesh Nazare via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 7 09:12:18 PDT 2026
nageshnnazare wrote:
> Overall looks cool for the console output! I have added some comments and a few things to fix to ensure we get all of the input if there is more than the current buffer size. Also a question as to when this gets updated (how does ConsoleOutputWindowDelegate::PollProcessOutput() get called). What is the experience if we resume the process and it outputs text continuously. Does it show up right away? or only when we stop?
>
> One idea is to make this view able to execute LLDB commands. Anything that is typed would build a command at the bottom of the window and and soon as you hit enter, then it would execute the LLDB command.
@clayborg Thanks for reviewing, and Yes, we can plan to extend to run lldb commands in future. I just wanted to get this in, as there is nothing to work with currently. Regarding your question about the output, I guess it should behave as we expect - to output right away.. Anything before 10000 lines would be lost, if the program prints a lot of data - which can now be controlled with the variable.
https://github.com/llvm/llvm-project/pull/177160
More information about the lldb-commits
mailing list