Re: Breaking on nil context
Re: Breaking on nil context
- Subject: Re: Breaking on nil context
- From: Graham Cox <email@hidden>
- Date: Wed, 13 Feb 2013 12:01:17 +1100
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 <email@hidden> wrote:
> Try breaking on CGPostError().
On 13/02/2013, at 2:26 AM, Sean McBride <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden