• 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: is ObjectAlloc broken?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is ObjectAlloc broken?


  • Subject: Re: is ObjectAlloc broken?
  • From: Ken Victor <email@hidden>
  • Date: Thu, 20 Oct 2005 11:32:29 -0700

thanx for the reply.

yes, i do call {super dealloc]. i didn't think those warnings would cause this problem, but i included them for completeness, just in case...

i've done a little more checking. this same problem, ie objectAlloc apparently showing incorrect counts, shows up for other objects in my app that also call dealloc. i'm pretty sure i've run objectAlloc in the past and noticed correct behavior for some of the objects that are now showing apparently wrong counts. unfortunately, i don't remember how long ago that was.

it appears to me that objectAlloc is broken with xcode 2.1, X 10.4.2. is anyone else experiencing either success or similar problems?

thanx,
ken



At 8:21 AM +0200 10/20/05, Elias MÃ¥rtenson wrote:
20 okt 2005 kl. 01.43 skrev Ken Victor:

i have an object and i've put calls to nslog at it init and dealloc methods and in fact it is being allocated/inited once and being dealloced once. however, when i run under ObjectAlloc (xcode 2.1; OS X 10.4.2) it shows a current and peak and total count of 1, even after my alloc/init/dealloc.

Did you forget to put a [super dealloc] at the end of your dealloc method?

The warnings you got has nothing to do with your problem.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >is ObjectAlloc broken? (From: Ken Victor <email@hidden>)
 >Re: is ObjectAlloc broken? (From: Elias MÃ¥rtenson <email@hidden>)

  • Prev by Date: Re: eject key notification?
  • Next by Date: RE: REPOST: loadNibNamed and retain counts
  • Previous by thread: Re: is ObjectAlloc broken?
  • Next by thread: NSTextField taking back first responder status?
  • Index(es):
    • Date
    • Thread