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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to