• 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
Debugging a privileged process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging a privileged process


  • Subject: Debugging a privileged process
  • From: Kaelin Colclasure <email@hidden>
  • Date: Sat, 24 Jan 2004 17:55:25 -0800

Greetings,

I've just finished porting a daemon program that uses raw sockets to Mac OS X, and now I'd like to be able to use Xcode's snazzy GDB integration to debug it, Shark to profile it, etc. Since it uses raw sockets, it must or course run as a privileged process. Is it possible to accomplish this from the Xcode IDE? Do I need to run all of Xcode under sudo? (And if so are there any caveats to doing so? ISTR some admonishments against using the AppKit classes in a privileged process.)

And on a related topic, I am accustomed to being able to attach GDB to a running process (designated by PID) and start a debugging session that way. Yet I did not see any obvious option for doing this from Xcode... Did I just miss it, or should I file an enhancement request? :-)

-- Kaelin
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Debugging a privileged process
      • From: Jim Ingham <email@hidden>
  • Prev by Date: MallocDebug
  • Next by Date: Headerdoc scripts
  • Previous by thread: Re: Do project references work?
  • Next by thread: Re: Debugging a privileged process
  • Index(es):
    • Date
    • Thread