On 8 apr 2010, at 08.03, Patrick M. Rutkowski wrote: > I have a Foo object which has an NSMutableArray of Bar objects. The > Bar objects each have their own NSMutableArray of Baz objects. > > The weird thing is that the Foo and it's array of Bar's are all living > well and good, but the Bar's are all getting dealloc'd, even though > their containing parent are still alive. > > Still digging into it; not quite sure that you guys would even have > any advice to offer here, I think I'm on my own :-/
If you can reproduce the problem you can use the ObjectAlloc instrumentation in Instruments to track down the issue. It allows you to track all memory management events (alloc, retain, release, autorelease, etc.) in your application, so that you can figure out where your objects are being mismanaged. j o a r _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com