On Tue, 12 Feb 2013 18:20:15 +1100, Graham Cox said: >I'm getting this logged at times: > ><Error>: CGContextSetStrokeColorWithColor: invalid context 0x0 > > >This is despite NSAssert-ing every function I pass a context to for nil. >What can I set a breakpoint on to trap where this error is coming from?
Not sure if it'll work in your case, but I have CGErrorBreakpoint() as a future-break in my ~/.gdbinit. Cheers, -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ 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