Make sure you aren't inspecting the object before it is initialized. Xcode prints the dynamic type of variables rather than their static type. That's pretty useful, e.g. if a method takes an "id" we'll show you the real object passed not just the isa ivar. But an uninitialized local variable's value will be whatever was in the stack slot that last time this bit of the stack was used. If that was a pointer to some ObjC object even though the object is not good anymore, if its isa pointer hasn't been overwritten its dynamic type will be the type of the previous object.
Jim > On Feb 4, 2016, at 5:57 AM, Dave <d...@looktowindward.com> wrote: > > Hi, > > I’m trying to debug an App. I have a regular object that contains NSString's, > NSArray’s and NSDictionary’s. I have a method that does an alloc/init to get > a new one, but after the init call, the debugger shows the Object as > LTWNodeInfo @“0 objects” as if its an array and if I try to inspect it, it > won’t show be any of the properties. If I print it to the log is says its the > right class. > > What could someone tell me why this is happening and how to fix it? > > I’m using the latest version of XCode. > > Thanks in advance > Dave > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Xcode-users mailing list (Xcode-users@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/xcode-users/jingham%40apple.com > > This email sent to jing...@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (Xcode-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to arch...@mail-archive.com