• 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: How do I view the retain count in Xcode's debug window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I view the retain count in Xcode's debug window?


  • Subject: Re: How do I view the retain count in Xcode's debug window?
  • From: Greg Guerin <email@hidden>
  • Date: Fri, 19 Sep 2008 11:31:46 -0700

Karan, Cem (Civ, ARL/CISD) wrote:

So something like this: override retain, release, and autorelease so
that every time any of them get called, the object's location in memory,
its retain count, and its description get written to a log file. Then
set up the appropriate environment variables so that I kill the program
the moment overreleasing happens.

I'd send a SIGSTOP to the current process, rather than killing it. Then attach a debugger.


See: man sigaction

  -- GG

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Target-specific library inclusion?
  • Next by Date: Re: Custom component fails to load images by name in a IBPlugin
  • Previous by thread: RE: How do I view the retain count in Xcode's debug window?
  • Next by thread: Build error - strip failed (3.1.1)
  • Index(es):
    • Date
    • Thread