print long string in xcode 6 debugging console

前端 未结 1 1444
予麋鹿
予麋鹿 2020-12-24 01:40

I am getting only 1022 characters of my String to display in the debugging console of Xcode6. The actual length is around 2500 characters.

Is there a way to display

相关标签:
1条回答
  • 2020-12-24 01:57

    I found an answer thanks to your comment @nms. The command line for lldb is

    setting set target.max-string-summary-length 10000
    

    with 10000 being the number of characters that are printed.

    I haven`t found a nicer way to set this setting for lldb, other than typing it every time i debug, than to set a breakpoint in AppDelegate to auto continue and adding the above command to it.

    0 讨论(0)
提交回复
热议问题