常用的就是po 其实还有很多强大的命令 可以让调试变的更快捷方便
直接上干货
让lldb功能更强大 调试程序会更方便
1.打开终端窗口 依次输入
git clone https://github.com/facebook/chisel.git
git clone https://github.com/DerekSelander/LLDB.git
# ~/.lldbinit
command script import /Users/apple/chisel/fblldb.py
command script import /Users/apple/LLDB/lldb_commands/dslldb.py
xcode LLDB 模式下输入 command source ~/.lldbinit
即可
search
pviews
presponder
pactions 0xxxxxx
methods 0xxxxxx
具体命令可以查看github
本文介绍了如何增强Xcode中LLDB的调试能力,通过克隆并导入chisel和LLDB命令库,然后在~/.lldbinit文件中配置,可以使用如'search'、'pviews'、'presponder'等便捷命令,提升iOS开发的调试效率。
1130

被折叠的 条评论
为什么被折叠?



