ivar is nil but property getter returns valid value
ivar is nil but property getter returns valid value
- Subject: ivar is nil but property getter returns valid value
- From: Rick Mann <email@hidden>
- Date: Tue, 21 Feb 2012 13:46:36 -0800
I have a property "match" and an ivar "mMatch". The property is synthesized with match = mMatch. This has worked for me for hundreds of properties.
Using LLDB, inspecting the property in the variables pane shows mMatch to be nil, as well as typing po self->mMatch. But po [self match] returns the expected value.
Is this just an LLDB bug? Some ivars show up just fine. I'm noticing a lot of other weirdness in LLDB. Xcode complained that I should be using LLDB and not GDB, but it still seems pretty unreliable.
iOS 5 simulator ARC Xcode 4.3 lion.3 LLDB-112
--
Rick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden