Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Breakpointing for kCGErrorIllegalArgument errors?



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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.