• 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: Intercepting retain/release of object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intercepting retain/release of object


  • Subject: Re: Intercepting retain/release of object
  • From: j o a r <email@hidden>
  • Date: Fri, 21 Mar 2008 12:38:37 -0700


On Mar 21, 2008, at 11:13 AM, Scott Ribe wrote:
If you really want to understand what's going on, forget the counts, set
breakpoints on your overloaded retain & release methods, then look at the
stack trace every time. It may take a while, because there may be a lot
going on behind the scenes, but it's one way to get an understanding. (Also
add an override for autorelease.)


A much, much, better way of doing that would be to use the Object Allocations instrument.

j o a r

_______________________________________________

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


References: 
 >Re: Intercepting retain/release of object (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: Beginner with Cocoa
  • Next by Date: Mac Application Developer- iPhone
  • Previous by thread: Re: Intercepting retain/release of object
  • Next by thread: Re: Intercepting retain/release of object
  • Index(es):
    • Date
    • Thread