Code::Blocks Forums
User forums => Help => Topic started by: rbrettjuergens on May 16, 2011, 04:05:17 pm
-
I'm working on an application using libtrace. The application needs to be run as root to access the network interface. I've tried switching the environment variables to sudo /bin/sh -c and a few other arrangements with sudo in them. The application works on the command line but I need to trace through the application to see why some variables are not producing what I'm expecting.
Is there a way to switch to root for debugging without starting Code::Block as root?
-
You can try the solution described here: http://forums.codeblocks.org/index.php/topic,9775.msg68383.html#msg68383 (http://forums.codeblocks.org/index.php/topic,9775.msg68383.html#msg68383)
-
You can try the solution described here: http://forums.codeblocks.org/index.php/topic,9775.msg68383.html#msg68383 (http://forums.codeblocks.org/index.php/topic,9775.msg68383.html#msg68383)
I just gave it a shot but no luck.