• 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: Joar Wingfors <email@hidden>
  • Date: Tue, 12 Feb 2013 00:09:16 -0800

Try breaking on CGPostError().

Joar

On 11 feb 2013, at 23:20, Graham Cox <email@hidden> wrote:

> 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?
>
> --Graham
>
>
>
> _______________________________________________
>
> 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


_______________________________________________

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: Graham Cox <email@hidden>
References: 
 >Breaking on nil context (From: Graham Cox <email@hidden>)

  • Prev by Date: NSComboBox and Multiple Selection
  • Next by Date: Re: new to Cocoa/Objective-c: many points of confusion
  • Previous by thread: Breaking on nil context
  • Next by thread: Re: Breaking on nil context
  • Index(es):
    • Date
    • Thread