Re: debugging hard-to-locate error in NSApplication delegate
Re: debugging hard-to-locate error in NSApplication delegate
- Subject: Re: debugging hard-to-locate error in NSApplication delegate
- From: "Michael Ash" <email@hidden>
- Date: Mon, 12 Jan 2009 11:24:28 -0500
On Mon, Jan 12, 2009 at 11:11 AM, Greg Beaver <email@hidden> 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 (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