• 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: debugging a server app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging a server app


  • Subject: Re: debugging a server app
  • From: Howard Shere <email@hidden>
  • Date: Mon, 20 Feb 2006 06:00:18 -0600


On Feb 20, 2006, at 12:46 AM, Chris Espinosa wrote:

On Feb 19, 2006, at 10:28 PM, Howard Shere wrote:

I have a project which I just moved to xcode from a makefile. This is a server app with no UI. It is normally launched as a daemon and with sudo. I have everything setup in xcode to build everything to the right folders and I added the app I want to debug with custom exe so I can add my command line params to it.
One way people do this is to launch Xcode itself under sudo.  Then all child processes, including gdb and your server app, will be launched with the same privileges.


This worked great! Thanks.

Once I did this I had to reconfigure Xcode with my settings because I was a different user, but other than that debugging worked fine.

Howard Shere
http://www.livejournal.com/users/realgreendragon/
Altair 8800a to Mac OS X so far...

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >debugging a server app (From: Howard Shere <email@hidden>)
 >Re: debugging a server app (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: C++ Headers in /usr/include
  • Next by Date: No such file or directory
  • Previous by thread: Re: debugging a server app
  • Next by thread: No such file or directory
  • Index(es):
    • Date
    • Thread