LLDB 打印 frame

問題1:LLDB 打印 frame (如:po self.view.frame)xcode

打開終端:(依次輸入,什麼都沒提示,打開xcode項目,有Hook 1(expr --@import UIKit等提示,意味着成功))code

1.touch ~/.lldbinitget

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

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

4.不使用刪除:rm ~/.lldbinit終端

相關文章
相關標籤/搜索