[Lazarus] run program in ide with sudo for debug purpose
zeljko
zeljko at holobit.net
Sun Feb 26 14:05:59 CET 2012
On Sunday 26 of February 2012 13:49:08 Martin wrote:
> On 26/02/2012 12:38, ik wrote:
> > Hello,
> >
> > I'm trying to debug a program that I'm writing with Lazarus, and it
> > require root privileges, but I do not want Lazarus to run as root,
> > only the program itself for debug.
> >
> > How can I do that ?
>
> I have not tried it, but maybe if you replace "/usr/bin/gdb" (in the IDE
> opions dialog) with "sudo /usr/bin/gdb" ?
>
> Of course that affects all projects.
Yes, but sudo can ask for password ,so he'll be stucked there I think.
zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120226/d4d58a59/attachment-0003.html>
More information about the Lazarus
mailing list