• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Weird exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Weird exception
      • From: Alexander Bokovikov <email@hidden>
References: 
 >Weird exception (From: Alexander Bokovikov <email@hidden>)
 >Re: Weird exception (From: Kyle Sluder <email@hidden>)
 >Re: Weird exception (From: Alexander Bokovikov <email@hidden>)

  • Prev by Date: Re: Weird exception
  • Next by Date: Allow only root/admin users to execute the cocoa app
  • Previous by thread: Re: Weird exception
  • Next by thread: Re: Weird exception
  • Index(es):
    • Date
    • Thread