How to change default LLDB settings

前端 未结 1 1072
醉梦人生
醉梦人生 2021-01-14 09:14

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-str         


        
相关标签:
1条回答
  • 2021-01-14 09:57

    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
    
    0 讨论(0)
提交回复
热议问题