Xcode中的调试器LLDB
原文地址:http://objccn.io/issue-19-2/
里面内容很多,本着实用主义,这里只记录我自己常用的命令:
###1.查看某个变量的值
print
LLDB会做前缀匹配,一把简写为p,
使用po可以查看NSObject的description
This post is licensed under
CC BY 4.0
by the author.
Comments powered by Disqus.