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

 

posted @ 2016-01-19 16:37  金刚葫芦娃哈哈  阅读(278)  评论(0编辑  收藏  举报