[Lldb-commits] [lldb] [lldb] Support CommandInterpreter print callbacks (PR #125006)

via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 30 09:41:20 PST 2025


jimingham wrote:

> > If this result printing callback was also passed the command string (which it has from just above where the callback is called) then this would also be an easy way to do logging of command execution. That's not needed for your current purpose, but would add another strong motivation for this change...
> 
> Adrian made a similar observation offline. What do you think about putting that in the `CommandReturnObject`? This seems generally useful and that way it's not tied to the callback.

That's a good idea.

https://github.com/llvm/llvm-project/pull/125006


More information about the lldb-commits mailing list