You can always subclass, turn off ARC for that file, and override -release or 
-autorelease to breakpoint in. I’ve done that on occasion with particularly 
tricky overrelease bugs (which actually turned out to be an under-autorelease 
bug in some non-ARC code).

Daniel

> On May 22, 2019, at 11:20 AM, Casey McDermott <supp...@turtlesoft.com> wrote:
> 
> Instruments shows the child view controller being deallocated improperly 
> after a tab switch.
> Unfortunately it's either run the debugger or run Instruments, but not both.
> So it doesn't help narrow down to when the release happens, exactly.
> 
> Instruments has an Allocations list that shows caller and stack trace for 
> allocation of each object, but nothing
> for release or deallocation. 
> 
> If Apple views this list- adding release/dealloc info in 
> Instruments-Allocations would by extremely useful. 
> As would allowing - (void) release ( [super release]; } in code, so a 
> breakpoint can go there. 
> dealloc is too late to be useful.
> 
> Casey McDermott
> Turtle Creek Software
> 
> 
>     On Wednesday, May 22, 2019, 1:23:57 PM EDT, Matt Jacobson 
> <matthew_jacob...@apple.com> wrote:  
> 
> 
> 
> 
> On May 22, 2019, at 1:19 PM, Casey McDermott <supp...@turtlesoft.com> wrote:
> The Allocations feature in Instruments looks promising. Is there a way to 
> limit the display to just one class? Otherwise it is WTMI.
> 
> 
> Check out File → Recording Options…
> Matt  
> _______________________________________________
> 
> 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/danhd123%40mac.com
> 
> This email sent to danhd...@mac.com

_______________________________________________

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

Reply via email to