• 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 there a way to see who is retaining an object?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way to see who is retaining an object?


  • Subject: Re: Is there a way to see who is retaining an object?
  • From: Andy Lee <email@hidden>
  • Date: Fri, 17 Jun 2005 09:32:17 -0400

On Jun 17, 2005, at 9:18 AM, Rick Hoge wrote:
2) Since this also could be a bug on my end, does anyone have any tips on how to debug this? It would seem useful if there was a way to determine what objects are retaining a given object but, other than subclassing retain and release to add some NSLog's to find out *when* the retains and releases are happening I haven't any idea on whether this might be possible

You could try launching your app with MallocDebug. (In Xcode, it's under Debug -> Launch using Performance Tool.) There is an option to list leaks. I *think* it detects leaky object cycles, but I could be wrong.


--Andy

_______________________________________________
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 there a way to see who is retaining an object? (From: Rick Hoge <email@hidden>)

  • Prev by Date: Re: Draw windows offscreen [follow-up]
  • Next by Date: Re: Modal dialog alternatives?
  • Previous by thread: Re: Is there a way to see who is retaining an object?
  • Next by thread: Re: Is there a way to see who is retaining an object?
  • Index(es):
    • Date
    • Thread