• 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: "Sean McBride" <email@hidden>
  • Date: Mon, 21 Jul 2008 17:54:41 -0400
  • Organization: Rogue Research

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

  • Follow-Ups:
    • Re: Breakpoints for CG* functions
      • From: "Ken Ferry" <email@hidden>
References: 
 >Breakpoints for CG* functions (From: Moray Taylor <email@hidden>)

  • Prev by Date: Breakpoints for CG* functions
  • Next by Date: Weak link usage? @property?
  • Previous by thread: Breakpoints for CG* functions
  • Next by thread: Re: Breakpoints for CG* functions
  • Index(es):
    • Date
    • Thread