[Lazarus] run program in ide with sudo for debug purpose

Martin lazarus at mfriebe.de
Sun Feb 26 15:19:31 CET 2012


On 26/02/2012 13:19, ik wrote:
> On Sun, Feb 26, 2012 at 15:05, zeljko<zeljko at holobit.net>  wrote:
>> On Sunday 26 of February 2012 13:49:08 Martin wrote:
>>> I have not tried it, but maybe if you replace "/usr/bin/gdb" (in the IDE
>>> opions dialog) with "sudo /usr/bin/gdb" ?
> Treid to use kdesu but got the following:
>
> The debugger "/usr/bin/kdesu /usr/bin/gdb"
> does not exist or is not executable.
>
> See Tools ->  Options ->  Debugger options
>

Maybe a script/ that contains that line? but it must forward the 
commandline param

Otherwise, I don't have an idea.

There is no build in solution for this





More information about the Lazarus mailing list