• 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: application quit right after launching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: application quit right after launching (From: Cesare Marilungo <email@hidden>)

  • Prev by Date: Can't find mysql.h
  • Next by Date: Re: application quit right after launching
  • Previous by thread: Re: application quit right after launching
  • Next by thread: Re: application quit right after launching
  • Index(es):
    • Date
    • Thread