This might not help with your problem, but I think it answers your original question:
You can add a symbolic breakpoint on [NSObject autorelease]
and then set a condition to match your class. If your running on a device $r0
should hold the pointer to the receiving object. You need to do some casting to make the condition work: (BOOL)[(id)$r0 isKindOfClass:[NSArray class]]
breaks whenever an NSArray
is added to the autoreleasepool. Note that everything will be running very slow as the debugger has to break on every autorelease and check the condition.