• 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: Xcode Debugger, run as root?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode Debugger, run as root?


  • Subject: Re: Xcode Debugger, run as root?
  • From: Alexander von Below <email@hidden>
  • Date: Tue, 14 Jul 2009 18:58:28 +0200

Hello,

one way is to log in at Root. WARNING: Running as root will make your system more vulnerable! Use with caution!

What I do is to run gdb in the commandline as root

sudo gdb

That of course means losing the GUI of the Xcode debugger, but I can live with that

As to xed, I have no clue :(

hth

Alex

Am 14.07.2009 um 17:34 schrieb Xochitl Lunde:


I have a Linux app which I have built on the Mac. Now, I need to debug. I have added the custom executable to Xcode, as described in a previous thread. http://osdir.com/ml/xcode-users/2009-06/msg00149.html
My program now exits saying "this program must be run with root permission." in the console window. How can I get Xcode to run it with root permission? (I do have the root password.)


Also, I notice if I login to a shell as root and try to use "xed" to modify files owned by root, it won't let me save it. Nano works though; what's wrong with how I am running xed?

Thanks,
Xochitl _______________________________________________
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
References: 
 >Xcode Debugger, run as root? (From: Xochitl Lunde <email@hidden>)

  • Prev by Date: Re: Possible to add files even frameworks to project via AppleScript?
  • Next by Date: Re: Endless SCM Project File Conflict: project.pbxproj
  • Previous by thread: Xcode Debugger, run as root?
  • Next by thread: Re: Xcode Debugger, run as root?
  • Index(es):
    • Date
    • Thread