Fixing logged error that doesn't throw exception
Fixing logged error that doesn't throw exception
- Subject: Fixing logged error that doesn't throw exception
- From: Graham Cox <email@hidden>
- Date: Thu, 28 May 2009 10:15:27 +1000
I'm getting this in the log when I open the "Customize Toolbar" sheet:
-[NSConcreteAttributedString initWithString:] called with nil string
argument. This has undefined behavior and will raise an exception in
post-Leopard linked apps. This warning is displayed only once.
Is this a bug in the frameworks or in my code? I tried setting a
symbolic breakpoint on this but it doesn't fire at all, though if it
did I'm not sure how I'd make it conditional on the string being nil
as there are no debugging symbols.
It would be preferable if this did throw an exception, at least it
could be tracked down more easily.
--Graham
_______________________________________________
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