> On 18 Nov 2014, at 10:19 am, Graham Cox <graham....@bigpond.com> wrote: > > When my app enters the Versions Browser, I get a stream of warnings logged > like this: > > Nov 18 13:12:28 Grahams-iMac.local xxxxx[23685] <Error>: > CGContextClipToRects: invalid context 0x0. This is a serious error. This > application, or a library it uses, is using an invalid context and is > thereby contributing to an overall degradation of system stability and > reliability. This notice is a courtesy: please fix this problem. It will > become a fatal error in an upcoming update. > > This wasn't happening on 10.9, but is on 10.10. The function name varies, > it's not always CGContextClipToRects, but many different CGxxx functions. > > I have a breakpoint set on _NSWarnForDrawingImageWithNoCurrentContext, but > it's not triggered for these. Is there another breakpoint I can set? The > error message doesn't mention one, rather unhelpfully. > > --Graham >
Try breakpointing on CGPostError - that used to work although I don’t recall whether it was iOS only or OSX as well. Chances it’s your bug are about 1%, that message has been popping up for years as various bits of iOS and OSX are broken, I don’t think it will ever become a fatal error because it would be too destructive if it ever did. _______________________________________________ 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