Thanks chaps, that did the trick.

The plot thickens though, since I'm getting this logged when the context is NOT 
nil, usually in a call (but only now and again) to CTLineDraw.  Mysterious....

--Graham









On 12/02/2013, at 7:09 PM, Joar Wingfors <j...@joar.com> wrote:

> Try breaking on CGPostError().

On 13/02/2013, at 2:26 AM, Sean McBride <s...@rogue-research.com> wrote:

> Not sure if it'll work in your case, but I have CGErrorBreakpoint() as a 
> future-break in my ~/.gdbinit.



>> I'm getting this logged at times:
>> 
>> <Error>: CGContextSetStrokeColorWithColor: invalid context 0x0


_______________________________________________

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

Reply via email to