Debugging in XCode as root

Posted by Anton on Stack Overflow See other posts from Stack Overflow or by Anton
Published on 2009-06-23T14:46:31Z Indexed on 2010/04/05 22:53 UTC
Read the original article Hit count: 490

Filed under:
|
|
|
|

In my program I need to create sockets and bind them to listen HTTP port (80). The program works fine when I launch it from command line with sudo, escalating permissions to root. Running under XCode gives a 'permission denied' error on the call to binding function (asio::ip::tcp::acceptor::bind()).

How can I do debugging under XCode?

All done in C++ and boost.asio on Mac OS X 10.5 with XCode 3.1.2.

© Stack Overflow or respective owner

Related posts about xcode

Related posts about debugging