我正在使用 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 总能得到正确的结果。
任何人的想法?