我使用的是xCode 4.3.1,当我想要使用lldb时,我几乎没有得到任何调试信息,而是在一个简单的NSMutableDictionary属性上得到了以下结果:
(lldb) po _keywordCache
error: instance method 'delegate' has incompatible result types in different translation units ('objc_object *' vs. 'id')
error: instance method 'delegate' has incompatible result types in different translation units ('objc_object *' vs. 'id')
note: instance method 'delegate' also declared here
note: declared here with type 'id'
note: instance method 'delegate' also declared here
note: declared here with type 'id'
error: 2 errors parsing expression
切换到gdb总是会得到正确的结果。
有谁有主意吗?
https://stackoverflow.com/questions/10171065
复制相似问题