• 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: How to debug in xcode a ROOT-level executables?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug in xcode a ROOT-level executables?


  • Subject: Re: How to debug in xcode a ROOT-level executables?
  • From: Hugh Sontag <email@hidden>
  • Date: Mon, 8 Jan 2007 16:00:33 -0600

The way that I did it is this:

1. Use NetInfo Manager (it's in the "Utilities" folder, inside the "Applications folder) to enable the 'root' account. See this URL for details:

   http://qdea.com/pages/pages-sprox/sprox10.html#rootlogin

2. Log in as 'root'.

3. Open the XCode project.

4. Debug away. When interapplication communication was involved, I ran both parts in the same instance of XCode.

Hugh Sontag
Qdea

On Jan 8, 2007, at 1:53 PM, Greg Guerin wrote:

Justin C. Walker wrote:

I don't think that running Xcode via 'sudo' will work:
     sudo open /Developer/Applications/Xcode.app

Pseudo might work: <http://personalpages.tds.net/~brian_hill/pseudo.html>

I have not tried it with Xcode, but I have used it successfully with other
apps.

To the original poster, you can also reconfigure httpd so it runs as
non-root, uses a non-privileged port, etc.  You have to edit root-owned
files to do this, but it might be safer in the long run than debugging
while running as root.

This seems like material for an Xcode feature request. Surely a fair number of people have a need from time to time to debug an application running as root, and as far as I can tell there is no way -- or at least no obvious or trivial way -- to do so. Am I missing something or should I file a request in radar?


Larry
_______________________________________________
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

_______________________________________________ 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
  • Follow-Ups:
    • Re: How to debug in xcode a ROOT-level executables?
      • From: Laurence Harris <email@hidden>
References: 
 >Re: How to debug in xcode a ROOT-level executables? (From: Greg Guerin <email@hidden>)
 >Re: How to debug in xcode a ROOT-level executables? (From: Laurence Harris <email@hidden>)

  • Prev by Date: Re: How to debug in xcode a ROOT-level executables?
  • Next by Date: Re: How to debug in xcode a ROOT-level executables?
  • Previous by thread: Re: How to debug in xcode a ROOT-level executables?
  • Next by thread: Re: How to debug in xcode a ROOT-level executables?
  • Index(es):
    • Date
    • Thread