LoginSignup
3
1

More than 1 year has passed since last update.

Xcodeのデバッガーで長いStringをprintする方法

Posted at

LLDBのコンソールで以下のコマンドを実行します。
10000は文字数で、もっと大きな値にすることも可能です。

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

image.png

すると、p longString で長い文字列を見切れることなく表示することができます。

参考

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1