• 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
Breakpointing for kCGErrorIllegalArgument errors?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Breakpointing for kCGErrorIllegalArgument errors?


  • Subject: Breakpointing for kCGErrorIllegalArgument errors?
  • From: Jay Koutavas <email@hidden>
  • Date: Tue, 2 Sep 2003 09:34:09 -0700

I'm getting a slew of the following non-fatal errors reported in my
Console log when the part of my Cocoa application "foobar" repeatedly
splats NSImages to a NSImageView:

===

Sep 2 09:18:44 mac
/Users/jay/Desktop/foobar.app/Contents/MacOS/foobar:
kCGErrorIllegalArgument : CGSGetWindowType: Invalid window

===

Is there a means, using gdb, to trap for this kind of error?

I'm not calling CGSGetWindowType() directly. If I could breakpoint on
this error, I could then (hopefully) examine the stack which would
point me to what I am calling that is calling CGSGetWindowType().

Thank you,

/Jay

--
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Jay Koutavas mailto:email@hidden
Heynow Software http://www.heynow.com
Windham, New Hampshire, USA
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Painting into a NSImage / Combining two NSImage objects
  • Next by Date: question
  • Previous by thread: Re: Painting into a NSImage / Combining two NSImage objects
  • Next by thread: question
  • Index(es):
    • Date
    • Thread