我正在使用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
Run Code Online (Sandbox Code Playgroud)
切换到gdb始终会给出正确的结果.
有人有想法吗?