Re: App works when launched from Xcode, not from Finder
Re: App works when launched from Xcode, not from Finder
- Subject: Re: App works when launched from Xcode, not from Finder
- From: PCWiz <email@hidden>
- Date: Tue, 15 Dec 2009 21:47:29 -0700
Is there any way to do this using one mac?
On 2009-12-15, at 9:33 PM, Eric Schlegel wrote:
>
> 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