News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

sudo before starting debugger

Started by rbrettjuergens, May 16, 2011, 04:05:17 PM

Previous topic - Next topic

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