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: Ruslan Zasukhin <email@hidden>
- Date: Mon, 08 Jan 2007 17:57:38 +0200
- Thread-topic: How to debug in xcode a ROOT-level executables?
On 8/1/07 5:48 PM, "Justin C. Walker" <email@hidden> wrote:
Hi Justin,
> On Jan 8, 2007, at 06:21 , Ruslan Zasukhin wrote:
>
>> I try debug PHP module made with xcode.
> [snip]
>> So question is:
>>
>> does exists way run debugging process like a ROOT user ?
>
> Yup. There are a couple of ways, all requiring root access.
>
> 1. Use gdb in a Terminal window, instead of Xcode, and the 'sudo'
> command:
> sudo gdb /usr/sbin/httpd
Ugly :-)
No way to set breakpoints easy and so on.
> 2. Log in as root and then run Xcode (or use gdb in a Terminal
> window). This
> requires enabling the 'root' account.
In the SystemPreferences -> Accounts ?
> I don't think that running Xcode via 'sudo' will work:
> sudo open /Developer/Applications/Xcode.app
In archive of list I have see idea:
- set that executable NOT start with debugger
- then in console specify sudo
But I cannot make this way working, because in the console of xcode debugger
It show prompt
(gdb)
So (gdb) sudo su -
Says unknown command.
> Justin
>
> --
> Justin C. Walker, Curmudgeon-At-Large
> Institute for the Enhancement of the Director's Income
> --------
> Experience is what you get
> when you don't get what you want.
> --------
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
a
>
> This email sent to email@hidden
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
_______________________________________________
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