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

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 29 23:12:34 PST 2025


JDevlieghere 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. 

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


More information about the lldb-commits mailing list