安裝
brew update
brew install chisel
安裝完后,在~/.lldbinit文件中添加一行,沒有則新建:
command script import /usr/local/opt/chisel/libexec/fblldb.py
命令
1.pvc target:viewController
2.pviews target:view
3.visualize 截圖 target:ID
4.fv & fvc fv查找內(nèi)存中的view fvc查找內(nèi)存中的 viewController的實(shí)例
5.show & hide target view
6.mask/umask border/unborder target
7.pinternals target:id
8.pclass?
9.taplog
help + chisel命令,查詢?nèi)绾问褂??cmd+k 清除console信息
10.caflush
?(lldb)p view
(long)$122=140718754142192
(lldb)e (void)[$122setBackgroundColor:[UIColor greenColor]]
(lldb)caflush