Chisel-LLDB

安装


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查找内存中的view fvc查找内存中的 viewController的实例

5.show & hide target view

6.mask/umask border/unborder target

7.pinternals target:id

8.pclass 

9.taplog

help + chisel命令,查询如何使用  cmd+k 清除console信息

10.caflush

 (lldb)p view

(long)$122=140718754142192

(lldb)e (void)[$122setBackgroundColor:[UIColor greenColor]]

(lldb)caflush

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容