I have a heavily customized managed object with some attributes using ivar backing. I recently added an ivar of type NSObject and experienced some difficulty with the debugger. The simplified code is shown below.
@implementation MyManagedObject { MyStruct _ivar1; MyStruct _ivar2; // debugger shows this is global variable MyStruct _ivar3; double _ivar4; NSObject *_ivar5; // recently added } - (void)awakeFromFetch { [super awakeFromFetch]; _ivar5 = [[NSObject alloc] init]; } // break point @end When a break point is placed at the closing brace of awakeFromFetch, the debugger shows that _ivar2 and only _ivar2 is a global variable (this is not correct). If _ivar5 is removed from the code, then when a break point is placed at the closing brace of awakeFromFetch, the debugger shows no global variables whatsoever (this is correct). http://stackoverflow.com/questions/9917646/what-do-the-icons-in-xcode-4s-debug-area-variable-list-mean Any ideas? --Richard Charles _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com