手机端
1、启动App
2、ps -A 找到对应进程
3、debugserver 127.0.0.1:12346 -a 进程名称
电脑端
1、端口映射 12346->手机端的 12346
2、lldb 进入电脑端的lldb
3、process connect connect://127.0.0.1:12346
操作
1、pview 找到对应的按钮
2、po [(UIButton *)0x11447c360 allTargets] 查看targets
3、po [(UIButton *)0x11447c360 actionsForTarget:(id)0x107d54f50 forControlEvent:64] 查看按钮点击的方法
4、methods EduInterestGuideCollectionView 查看这个类的方法并且找到对应的方法内存地址
5、b 地址 内存断点