• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Breaking on nil context
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Breaking on nil context
      • From: David Duncan <email@hidden>
References: 
 >Breaking on nil context (From: Graham Cox <email@hidden>)
 >Re: Breaking on nil context (From: Joar Wingfors <email@hidden>)

  • Prev by Date: NSUserNotificationCenter: Spoofing the app name/icon?
  • Next by Date: Re: Breaking on nil context
  • Previous by thread: Re: Breaking on nil context
  • Next by thread: Re: Breaking on nil context
  • Index(es):
    • Date
    • Thread