• 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: Markus Spoettl <email@hidden>
  • Date: Thu, 18 Sep 2008 08:27:38 -0700

On Sep 18, 2008, at 8:18 AM, Karan, Cem (Civ, ARL/CISD) wrote:
I tried using instruments, and I finally did figure out how to get it configured for retain counts, but I'm not seeing any. Does
the application have to be running in order for Instruments to show thing correctly? Currently, my application keeps on crashing,
so I have no idea what state the thing is in. I'm commenting lines in and out until I find it, but that is NOT ideal...


What I do to find out what's causing over/under - release problems is overwriting -release and -retain for the class in question. The implementations just call [super retain] and [super release] but setting a breakpoint in them gives you the opportunity to see when those things happen.

It's a problem for objects that are retained/released a million times but if you have low retain/release numbers it can help finding out what's going on.

Regards
Markus
--
__________________________________________
Markus Spoettl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: How do I view the retain count in Xcode's debug window?
      • From: Scott Ribe <email@hidden>
References: 
 >How do I view the retain count in Xcode's debug window? (From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>)
 >Re: How do I view the retain count in Xcode's debug window? (From: Ken Thomases <email@hidden>)
 >RE: How do I view the retain count in Xcode's debug window? (From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>)

  • Prev by Date: Re: "Refactor..." menu item is disabled
  • Next by Date: Re: Link error using C dylib from C++ dylib
  • Previous by thread: RE: How do I view the retain count in Xcode's debug window?
  • Next by thread: Re: How do I view the retain count in Xcode's debug window?
  • Index(es):
    • Date
    • Thread