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

ik idokan at gmail.com
Mon Feb 27 15:05:18 CET 2012


On Mon, Feb 27, 2012 at 15:56, Mark Morgan Lloyd
<markMLl.lazarus at telemetry.co.uk> wrote:
> ik wrote:
>>
>> On Sun, Feb 26, 2012 at 14:38, ik <idokan at gmail.com> 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 ?
>>
>>
>> Working with gdbserver can solve this. I'll investigate this issue on
>> the weekend and might send a patch to lazarus to support it
>
>
> If that would work then would accessing gdb via ssh be an alternative?

I don't think it's the same. But I guess it is :)

>
>
> --
> Mark Morgan Lloyd
> markMLl .AT. telemetry.co .DOT. uk
>
> [Opinions above are the author's, not those of his employers or colleagues]
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




More information about the Lazarus mailing list