Debugging a privileged process
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.