Re: Diagnosing memory problems
Re: Diagnosing memory problems
- Subject: Re: Diagnosing memory problems
- From: Rob Petrovec <email@hidden>
- Date: Tue, 27 Nov 2018 16:52:31 -0700
Check out the Leaks tool in Instruments (inside Xcode.app)
—Rob
> On Nov 27, 2018, at 3:56 PM, Casey McDermott <email@hidden> wrote:
>
> Our main window has a tool bar across the top, an outline view on the left,
> and a tab view on the right. Choosing an item from the outline view fills a
> data entry screen into a new tab on the right.
>
> We started out using OS 10.11, but just switched to newer OS versions. 10.12
> has a couple display quirks but runs OK. In 10.13 and newer, switching tabs
> often crashes. It gives a warning about releasing a data entry field that is
> already released.
>
> In C++, we would diagnose this with a breakpoint in the destructor and then
> check the stack trace. But with ARC, a breakpoint at dealloc just shows
> performDelayedCleanup and then main. No clues to what's wrong.
>
> Is there lore or are there tools for tracking object lifetimes in Obj-C/ARC?
>
> Anything that changed in 10.13 that might be biting us?
>
> Thanks,
>
> Casey McDermott
> TurtleSoft.com
> _______________________________________________
>
> 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