Debugger lldb says my object is nil when is not ?

烈酒焚心 提交于 2019-11-29 11:15:24

I've met similar issues in Xcode 4.3. And press "Option" while click "run" and changed it back to stable gdb.

It is definitely nil.

Look at the address that its been allocated. 0x00000 is nil.

This is a bug with XCode, which still hasn't been resolved, as of 4.3.2. Switch back to GDB, even if XCode complains about your project settings.

For view property value, use "po self.yourproperty"

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!