Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Conditional breakpoint on -retain



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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Conditional breakpoint on -retain (From: Christian Schneider <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.