Re: application quit right after launching
Re: application quit right after launching
- Subject: Re: application quit right after launching
- From: Hsu <email@hidden>
- Date: Mon, 25 Feb 2002 20:07:17 -0800
On Monday, February 25, 2002, at 04:23 PM, Cesare Marilungo wrote:
BTW I've just begun using macosx developer stuff and using cocoa and
objective c to wrap an interface around a simple opengl app. So I don't
know, for this environment, any other debugger than pb debugger, and
still don't know how to use it from an app that is launched from the
finder.
I think that gdb has an "attach to process" option, but I've never used
it.
Also, I still don't know how to change the current working directory so
that all subsequent fopen assume that the path is specified relatively
to where the app resides.
Use [[NSBundle mainBundle] bundlePath]
hope this helps,
Karl
--
In walking, just walk. In sitting, just sit. Above all, dont wobble.
Homepage:
http://homepage.mac.com/khsu/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.