Re: Breakpoints for CG* functions
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