Re: Weird exception
Re: Weird exception
- Subject: Re: Weird exception
- From: vincent habchi <email@hidden>
- Date: Sun, 24 Jan 2010 10:08:15 +0100
Dobre dien, privet, poka!
Le 24 janv. 2010 à 08:38, Alexander Bokovikov a écrit :
> On 24.01.2010, at 1:12, Kyle Sluder wrote:
>> You should turn on zombies and run your app in the debugger on 10.4.
>
> Could you please describe it more particularly, as it's not clear for me what should I do exactly. Should I transfer all my sources into 10.4 OS? Or should I use Terminal to run gdb then launch my app? And how to turn zombies on?
Under XCode, you select 'run with performance tool' -> 'zombies'.
This will launch your app with the 'zombie instrument' attached, that will signal you if you app tries to message a released entity.
> @implementation NSString (MissingMethods)
> -(BOOL) boolValue {
> return strcmp([self UTF8String], "true") == 0;
> }
> @end
>
> and I don't see any exceptions now. Doesn't it mean the problem is fixed?
What you've done is like putting a band aid over a broken bone. It might cease bleeding, but you won't go very far anyway.
Dosvedania!
Vincent_______________________________________________
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