[Lazarus] Status of GDB and Lazarus/FPC debugging threaded apps

Jonathan winelauncher.jonathan at googlemail.com
Wed Jan 12 12:23:59 CET 2011


On Mon, 10 Jan 2011 08:41:50 -0600
Andrew Brunner <andrew.t.brunner at gmail.com> wrote:

> Debugging under Linux (Ubuntu) is the largest development pain, and
> has persisted since I started cross platform development with
> FPC/Lazarus.  I was wondering what if anything could be done to get a
> bug report together and submit something to either GDB or X.org, or
> identify the source of the problem and resolve it so we can debug
> without having to restart the desktop manager.

Setting  Project Options -> Compiler Options -> Linking -> Debugging: Check Use external gdb debug symbols file (-Xg)
stops my desktop from hanging. Do not ask me why.

http://wiki.lazarus.freepascal.org/Multithreaded_Application_Tutorial#Linux




More information about the Lazarus mailing list