Re: nib not launching properly
Re: nib not launching properly
- Subject: Re: nib not launching properly
- From: Chris Hanson <email@hidden>
- Date: Tue, 18 Sep 2007 22:17:09 -0700
On Sep 18, 2007, at 5:05 PM, Daniel Child wrote:
As a follow-up to my previous query about why a nib might not launch
Just FYI, this message should then have been a reply to your previous
one. I for one have no idea what the context of your previous query is.
I stumbled across
- (void)applicationDidFinishLaunching:(NSNotification *)notification
and, by adding it to the controller, used that to determine that the
application is not finishing its launching.
Is your application controller (which is what I assume you mean by
"the controller") actually the application's delegate? The
application will only send -applicationDidFinishLaunching: to its
delegate, it won't be sent to arbitrary objects.
Have you tried breaking on Objective-C exceptions in the debugger?
Set symbolic breakpoints on the Foundation method -[NSException raise]
and the Objective-C runtime function objc_exception_throw to break as
soon as an exception is thrown. If an exception is being thrown early
in application startup, this will let you know.
-- Chris
_______________________________________________
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