LLDB 打印 frame

问题1:LLDB 打印 frame (如:po self.view.frame)

打开终端:(依次输入,什么都没提示,打开xcode项目,有Hook 1(expr --@import UIKit等提示,意味着成功))

1.touch ~/.lldbinit

2.echo display @import UIKit >> ~/.lldbinit

3.echo target stop-hook add -o "target stop-hook disable" >> ~/.lldbinit

4.不使用删除:rm ~/.lldbinit

原文地址:https://www.cnblogs.com/bing-ge/p/5142633.html