The lldb debugger says my object is null if not?

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

However (sometimes) Do I have the impression that the debugger is not giving me the correct information? Is it possible?

For example, the debugger says that it _documentsItemis nil(both are in the console and when you mouse over ivar). But I know that this is NOT , so I see it (UIBarButtonItem) and more importantly, so the application stopped at the specified breakpoint)

if (_documentsItem) { ...

In fact, most of my properties return nil too :( Is there a way to make sure the debugger is working fine?

po object

+5
source share
4 answers

Xcode 4.3. "Option", "Run" gdb.

+6

.

, . 0x00000 .

+1

This is a bug with Xcode that is still not resolved since 4.3.2. Return to GDB even if Xcode complains about your project settings.

+1
source

To view the property value, use "po self.yourproperty"

0
source

All Articles