• 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 works when launched from Xcode, not from Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App works when launched from Xcode, not from Finder


  • Subject: Re: App works when launched from Xcode, not from Finder
  • From: Eric Schlegel <email@hidden>
  • Date: Tue, 15 Dec 2009 20:33:56 -0800

On Dec 15, 2009, at 8:05 PM, PCWiz wrote:

> This would explain my apps screwup. If it can't connect then that would explain the request timed out and authentication errors. The problem is, I have no idea why this only happens on the Release config *when launched from Finder*
>
> And I don't know how to debug this, as this problem doesn't occur when the app is launched by Xcode. Is there a way to load an executable into gdb manually?

Try this:

- ssh into your development machine from another Mac
- in the ssh session, run gdb, and type "attach -waitfor <NameOfYourApp>"
- launch your app from Finder
- when your app launches, gdb in the ssh session will attach automatically
- then you can set breakpoints as usual, debug, etc

-eric

_______________________________________________

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

  • Follow-Ups:
    • Re: App works when launched from Xcode, not from Finder
      • From: PCWiz <email@hidden>
References: 
 >App works when launched from Xcode, not from Finder (From: PCWiz <email@hidden>)
 >Re: App works when launched from Xcode, not from Finder (From: Kyle Sluder <email@hidden>)
 >Re: App works when launched from Xcode, not from Finder (From: PCWiz <email@hidden>)

  • Prev by Date: Re: Managed Object with Transformable Attribute (C Struct)
  • Next by Date: Re: Managed Object with Transformable Attribute (C Struct)
  • Previous by thread: Re: App works when launched from Xcode, not from Finder
  • Next by thread: Re: App works when launched from Xcode, not from Finder
  • Index(es):
    • Date
    • Thread