Debugger lldb says my object is nil when is not ?

后端 未结 4 1608
生来不讨喜
生来不讨喜 2020-12-19 15:35

Recently I upgraded my project settings in Xcode 4.3 and now I use the latest llvm debugger: lldb

However (sometimes) I have the impression the debu

相关标签:
4条回答
  • 2020-12-19 16:02

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

    0 讨论(0)
  • 2020-12-19 16:11

    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.

    0 讨论(0)
  • 2020-12-19 16:15

    It is definitely nil.

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

    0 讨论(0)
  • 2020-12-19 16:19

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

    0 讨论(0)
提交回复
热议问题