I am trying to debug the following error.

<Error>: CGContextClipToRects: invalid context 0x0. This is a serious error. 
This application, or a library it uses, is using an invalid context and is 
thereby contributing to an overall degradation of system stability and 
reliability. This notice is a courtesy: please fix this problem. It will become 
a fatal error in an upcoming update.

I have added a symbolic breakpoint on CGPostError. The application halts 
completely with Apple’s frameworks. There is not a single stack frame from my 
code except main.

The first few stack frames look like this.

#0      0x00007fff8e5686c7 in CGPostError ()
#1      0x00007fff8e568798 in handle_invalid_context ()
#2      0x00007fff8d5ad2c0 in -[NSView _drawRect:clip:] ()

The first thing I noticed is that there are no debug symbols in Apple’s 
frameworks. It that normal?

If there were debug symbols present I could query the NSView object to see what 
class it is to see how it relates to my code.

How do you debug something with no symbols?

--Richard Charles


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to