Re: How to debug in xcode a ROOT-level executables?
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