小编Koe*_*oen的帖子

lldb奇怪的错误

我正在使用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始终会给出正确的结果.
有人有想法吗?

lldb xcode4.3

21
推荐指数
1
解决办法
4271
查看次数

标签 统计

lldb ×1

xcode4.3 ×1