On Jul 27, 2012, at 8:55 AM, Nick Zitzmann <n...@chronosnet.com> wrote:
> But I need to be able to see **all** invocations of the method from **all** > NSViews to catch the culprit, because I have a rather complicated view > hierarchy, including some views for which I don't have the source, and I > don't know exactly which view is doing this. In order to do that, I need to > set a conditional breakpoint, and this would be easy if an NSRect could be > stored in a register, but how do I set a conditional breakpoint when the > variable I want to investigate is on the stack? And where would I find each > of the CGFloats on the stack? For debugging, you might consider swizzling NSView's -setNeedsDisplayInRect: to do the conditional logging that Markus suggested. Cheers, Curt ----------------------------------------------------------------------------- Curt Clifton, PhD Software Engineer The Omni Group www.curtclifton.net _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com