Thanks for posting that link on breaking on exceptions...I'd been looking for 
some way to do that.  I wish Xcode would simply stop on an offending line [in 
my code, not the library behind] instead of making me hunt it down...that's one 
thing I do like about programming using MS' tools...

Peace, Love, and Light,
 
/s/ Jon C. Munson II

-----Original Message-----
From: cocoa-dev-bounces+jmunson=his....@lists.apple.com 
[mailto:cocoa-dev-bounces+jmunson=his....@lists.apple.com] On Behalf Of Michael 
Ash
Sent: Monday, January 12, 2009 11:24 AM
To: Cocoa Developers
Subject: Re: debugging hard-to-locate error in NSApplication delegate

On Mon, Jan 12, 2009 at 11:11 AM, Greg Beaver <g...@chiaraquartet.net> wrote:
> Hi,
>
> Does anyone have working code that shows an application delegate in a
> core data document-based app?  I'm trying to intercept
> applicationShouldOpenUntitledFile: in order to open the last-saved
> document.  I have code that works, but it causes this error:
>
> *** -[NSCFArray insertObject:atIndex:]: attempt to insert nil

First thing you need to do is find out where this error is coming
from. Without that information, the problem is far too difficult. See
"Breaking on Exceptions" on this page:

http://www.cocoadev.com/index.pl?DebuggingTechniques

Mike
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/jmunson%40his.com

This email sent to jmun...@his.com

_______________________________________________

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

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

Reply via email to