Re: Crashing in NSTabView
Re: Crashing in NSTabView
- Subject: Re: Crashing in NSTabView
- From: Daniel DeCovnick <email@hidden>
- Date: Wed, 22 May 2019 11:31:12 -0700
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 <email@hidden> 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
> <email@hidden> wrote:
>
>
>
>
> On May 22, 2019, at 1:19 PM, Casey McDermott <email@hidden> 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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden