• 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: Conditional breakpoint on -retain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Conditional breakpoint on -retain


  • Subject: Re: Conditional breakpoint on -retain
  • From: Cameron Hayne <email@hidden>
  • Date: Thu, 10 Nov 2005 08:50:44 -0500

On 10-Nov-05, at 7:52 AM, Christian Schneider wrote:
I'm hunting down a once-too-much-retained kind of bug and would like
to be able to break in the debugger each time a QTMovie object is
retained.
I set a symbolic breakpoint on -[NSObject retain] and tried to specify
[self isKindOfClass:[QTMovie class]] as the condition when to actually
break. Unfortunately, that doesn't work and I couldn't find anything
else I could try.

You could subclass QTMovie or just use 'poseAs' to make a class that would implement the 'retain' method - and then break in that method.


--
Cameron Hayne
email@hidden


_______________________________________________ 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: Conditional breakpoint on -retain
      • From: Christian Schneider <email@hidden>
References: 
 >Conditional breakpoint on -retain (From: Christian Schneider <email@hidden>)

  • Prev by Date: Conditional breakpoint on -retain
  • Next by Date: Apple Help busted in 10.4.3?
  • Previous by thread: Conditional breakpoint on -retain
  • Next by thread: Re: Conditional breakpoint on -retain
  • Index(es):
    • Date
    • Thread