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: "Jon C. Munson II" <email@hidden>
- Date: Mon, 12 Jan 2009 11:42:35 -0500
- Organization: JTA Enterprises LLC
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=email@hidden [mailto:cocoa-dev-bounces+jmunson=email@hidden] 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 <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
_______________________________________________
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