Re: Debugging hints
Re: Debugging hints
- Subject: Re: Debugging hints
- From: Mike Abdullah <email@hidden>
- Date: Thu, 22 Dec 2011 14:32:39 +0000
On 22 Dec 2011, at 14:03, Martin Hewitson wrote:
>
> On 22, Dec, 2011, at 02:39 PM, Mike Abdullah wrote:
>
>> Did you actually write this app to be dual-mode, or are you under the impression that turning off garbage collection will magically fix things?
>
> To be honest, I wrote the app assuming garbage collection was off. I think it must have got turned on by mistake, perhaps during the move to Xcode 4. Not sure.
>
> I am under the impression (according to what others have written) that turning off garbage collection will stop the crashes in the garbage collection queue. I think this is a reported bug, but I didn't follow that thread very long. I just was surprised to find garbage collection on in the app, so I switched it off. This revealed the bug, which I'd like now to fix, of course.
I see. Well, turning it off will certainly fix that particular crash. But it doesn't surprise me at all that an app which has had the safety net of GC for a while will have picked up some memory management errors. The static analyzer may well find a lot of them.
_______________________________________________
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