• 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: Breakpoints for CG* functions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breakpoints for CG* functions


  • Subject: Re: Breakpoints for CG* functions
  • From: "Ken Ferry" <email@hidden>
  • Date: Mon, 21 Jul 2008 20:21:40 -0700

Try CGPostError.

The other suggestions are good too.

-Ken

On Mon, Jul 21, 2008 at 2:54 PM, Sean McBride <email@hidden> wrote:
> On 7/21/08 9:44 PM, Moray Taylor said:
>
>>Hi there,
>>
>>I'm getting a lot of errors like
>>
>><Error>: CGContextMoveToPoint: invalid context
>>
>>but my usual [NSException raise] breakpoint isn't doing the job
>
> Expected I'd say: CoreGraphics/Quartz is not Cocoa.
>
>> I've
>>tried setting a breakpoint on CGPostError() too, but nothing seems to work.
>>
>>Am I setting the breakpoint correctly? They seem to be OK.
>>
>>(gdb) maint info breakpoints
>>Num Type           Disp Enb Address    What
>>1   breakpoint     keep y   0x966eec66 <-[NSException raise]+6>
>>2   breakpoint     keep y   <PENDING>  CGPostError()
>>
>>Thanks for any tips
>
> Maybe try breaking on 'printf' or 'write' even.  In any case, since this
> is not a Cocoa question, try the Quartz list. :)
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 email@hidden
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
> _______________________________________________
>
> 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

References: 
 >Breakpoints for CG* functions (From: Moray Taylor <email@hidden>)
 >Re: Breakpoints for CG* functions (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Crash drawing shadows
  • Next by Date: Re: Avoiding mutual retain cycles
  • Previous by thread: Re: Breakpoints for CG* functions
  • Next by thread: Weak link usage? @property?
  • Index(es):
    • Date
    • Thread