MonoDevelop - how to debug as root?

xera

Expert Member
Joined
Jun 15, 2007
Messages
2,304
Reaction score
142
Location
Home is where the heart is
I am in a bit of a pickle here...

I'm using linux and need root to access some hardware.

Can MonoDevelop be set to debug as root?
 
Off the top of my head, I can think of two possibilities:
1) sudo monodevelop
2) sudo chmod o+rw /dev/ice

The latter is the better option, but might not work, depending on how you are accessing your device.
 
huh?

Mono = an interpreted lang. So no direct bare metal code happening there at all.

If you just need root access (as in OS user lvl) and not actual hw access then launching the IDE w/ root should be sufficient as per walter. Rights should carry over to any child processes, incl debug and app itself.
 
As with most higher level languages, hardware is usually accessed via external libraries: You can load "standard" shared libraries (.so) in Mono, where the .so does the actual/direct hardware accessing.
 
Top
Sign up to the MyBroadband newsletter
X