From time to time I need to print long string using LLDB. Default LLDB setting trims printed string, and I have to type in this thing:
set set target.max-string-summary-length 10000
When doing next run this setting isn't persisted. Is there a way to set it so that all subsequent LLDB debugging sessions will respect this setting?
Well solution is quite simple. First create file ~/.lldbinit
and then put there commands you wish to be run when LLDB starts, in my case:
set set target.max-string-summary-length 10000
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With