[fpc-pascal] Debugger interaction in FP IDE and Lazarus

Peter Vreman peter at freepascal.org
Wed Sep 3 08:55:18 CEST 2008

> FP IDE needs to link to libgdb and all of its dependencies in order to have
> debugger support. OTOH, Lazarus interacts to gdb via TProcess. FP IDE
> approach would be faster but also inextensible and less maintainable. When
> there's a problem with the libgdb (i.e. the library is buggy), the whole IDE
> needs to be recompiled using the bug-free library. In Lazarus case, changing
> the program path to the bug-free one is enough. What if FP IDE uses the same
> approach as Lazarus? Any cons you can think of other than speed?

The idea to implement this and reuse some Lazarus code has been around for a couple of years. But
it is not an easy task after a couple of quick investigations. That is also the reason why it has
not been started yet. You are welcome to implement such an interface and remove the libgdb


More information about the fpc-pascal mailing list