[Lazarus] Status of GDB and Lazarus/FPC debugging threaded apps
Andrew Brunner
andrew.t.brunner at gmail.com
Sun Jan 23 09:06:33 CET 2011
Latest Ubuntu with Gdb 7.2 is working great for main threaded apps.
But I still have an issue where GDB freezes my Desktop entirely.
But I have a much better work around than my previous finding of sudo
service gdm :-)
The fix is to kill gdb and the entire session comes back.
So ctrl+alt+f2
sudo ps -A // all jobs (required since this is different terminal)
look for process id of GDB
kill -9 proces_number_of_gdb
After killing the gdb the desktop comes back and I can restart the
process. Someone with GDB source needs to debug the GDB with a
multi-threaded app in lazarus. Is this at all possible? Seems like a
classic deadlock case to me.
But someone should update the wiki - this was much quicker and safer
than restarting the desktop manager.
More information about the Lazarus
mailing list