Re: Debugging an ignored exception
Re: Debugging an ignored exception
- Subject: Re: Debugging an ignored exception
- From: Daniel Jalkut <email@hidden>
- Date: Sat, 25 Nov 2006 12:13:26 -0500
Set a breakpoint on -[NSException raise]. That will at least stop you
in the debugger at the point of the infraction.
It's been suggested that Xcode should offer some kind of automatic
facility for breaking on such events. If you agree perhaps you should
send a bug report.
Daniel
On Nov 25, 2006, at 12:09 PM, Guy Meyer wrote:
My application logs the following to the console:
*** NSRunLoop ignoring exception '***
+[NSArray arrayWithObject:]: attempt to insert nil' that raised
during posting of delayed perform with target 4e6c480 and selector
'invokeWithTarget:'
How can I set NSRunLoop not to ignore the exception so I can debug
the issue ?
Is there any other way to get a clue for the source of this
exception ?
Thanks
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
sweater.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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