User forums > Help
sudo before starting debugger
(1/1)
rbrettjuergens:
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?
Jenna:
You can try the solution described here: http://forums.codeblocks.org/index.php/topic,9775.msg68383.html#msg68383
rbrettjuergens:
--- Quote from: jens on May 16, 2011, 07:36:22 pm ---You can try the solution described here: http://forums.codeblocks.org/index.php/topic,9775.msg68383.html#msg68383
--- End quote ---
I just gave it a shot but no luck.
Navigation
[0] Message Index
Go to full version