Re: Conditional breakpoint on -retain
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