1.打印中文输出
1.安装chisel:brew install chisel
2.创建.lldbinit文件:vim ~/.lldbinit
根据fblldb.py实际路径填写:
command script import /usr/local/opt/chisel/libexec/fblldb.py
3.退出Xcode并重启,打开断点,进入lldb调试模式,执行以下命令:
command source ~/.lldbinit
4.打印输出:
pjson xxxx
1.安装chisel:brew install chisel
2.创建.lldbinit文件:vim ~/.lldbinit
根据fblldb.py实际路径填写:
command script import /usr/local/opt/chisel/libexec/fblldb.py
3.退出Xcode并重启,打开断点,进入lldb调试模式,执行以下命令:
command source ~/.lldbinit
4.打印输出:
pjson xxxx