[Lldb-commits] [PATCH] D127986: [lldb] Support a buffered logging mode
Greg Clayton via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 16 10:41:17 PDT 2022
clayborg added a comment.
I would vote to add new options to "log enable" and enable any such features on a per "log enable" invocation if possible? Otherwise each time you want to enable this you need to do two commands, and if someone already enables buffered mode, then you wouldn't be able to log anything else? Lets say Xcode always enables logging with something like:
(lldb) log buffered enable 1000000
(lldb) log enable lldb process state thread step
Then the user doesn't know this and they try to enable logging with:
(lldb) log enable lldb expr
Then they currently wouldn't get any logging to the screen? It would be buffered until we dump it with "log buffered dump"?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127986/new/
https://reviews.llvm.org/D127986
More information about the lldb-commits
mailing list