[Lldb-commits] [lldb] [lldb] Add support for updating string during debug process (PR #67782)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 5 09:46:15 PDT 2023
jimingham wrote:
I don't know what the status of lldb-mi is, but lldb-vscode which does the same job (be a DAP server) is under active development. So "this adaptor doesn't use the better method to do X" shouldn't be a reason to not employ the better method. We should just fix the adaptors.
I entertained the idea of "value setting summaries" but rejected it after some thought. Summaries are unstructured short developer notes about the value, they really aren't suitable as general stand-in's for the value. So that's really not an appropriate route for changing values. But the Synthetic Child Providers are a re-presentation of the value, so they are a suitable route to do value changing for more complex object types.
I haven't read carefully through the ValueObject printer in a while, but we do compress the printing of "small" structures in some cases, so it should be possible to get it not to expand this output. I think people will not see it as a positive if these common objects start taking more space, so it would be good to investigate how to do that.
https://github.com/llvm/llvm-project/pull/67782
More information about the lldb-commits
mailing list