[Lazarus] Multi-Threaded Debugging under Linux (GDB CRASH Work-Around)

Andrew Brunner andrew.t.brunner at gmail.com
Sun Feb 6 04:08:31 CET 2011


I have great news regarding debugging multi-threaded apps under Linux
without crashing the Gnome Desktop Manager.

If you are having problems with GDB and GDM crashing under Linux when
you trace into lines use Synchronize.  I just write a debug wrapper
for the desired thread's execution code and pass that into
Synchronize.  I am now able to debug line by line for minutes with no
crashes!  Just use a compile directive and you can switch for
production builds.

This is so much sweeter.




More information about the Lazarus mailing list