• 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: App won't get to my code in Lion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App won't get to my code in Lion


  • Subject: Re: App won't get to my code in Lion
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 25 Jul 2011 22:36:58 -0700

On Jul 25, 2011, at 10:19 PM, John Nairn wrote:

> My app won't start at all in Lion. I always thought the first code will be in
> - (void)applicationWillFinishLaunching:(NSNotification *)aNotification

Not necessarily. For instance, if you have -awakeFromNib methods in objects in your main nib, those will run earlier.

> but that code is never reached. So I am a loss of how to fix it.

What happens if you run the app from Xcode? Does it report a crash? What’s the stack look like?
If that doesn’t give you useful info, try adding a breakpoint on exceptions (search the docs for details on how).

—Jens_______________________________________________

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

References: 
 >App won't get to my code in Lion (From: John Nairn <email@hidden>)

  • Prev by Date: App won't get to my code in Lion
  • Next by Date: Re: NSTask oddity with getting stdout
  • Previous by thread: App won't get to my code in Lion
  • Next by thread: Re: App won't get to my code in Lion
  • Index(es):
    • Date
    • Thread