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

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Mon Feb 27 14:56:57 CET 2012


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?

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list