• 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
Re: Debugging an ignored exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Debugging an ignored exception
      • From: Chris Hanson <email@hidden>
References: 
 >Debugging an ignored exception (From: Guy Meyer <email@hidden>)

  • Prev by Date: Re: Repositioning an NSTextFieldCell?
  • Next by Date: Re: Repositioning an NSTextFieldCell?
  • Previous by thread: Debugging an ignored exception
  • Next by thread: Re: Debugging an ignored exception
  • Index(es):
    • Date
    • Thread