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

2011-01-23 Thread Andrew Brunner
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

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

2011-01-23 Thread Mattias Gaertner
On Sun, 23 Jan 2011 02:06:33 -0600 Andrew Brunner andrew.t.brun...@gmail.com wrote: 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

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

2011-01-12 Thread Jonathan
On Mon, 10 Jan 2011 08:41:50 -0600 Andrew Brunner andrew.t.brun...@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

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

2011-01-11 Thread Petr Hlozek
I had the same problem and solved it by using DebugLn from lclproc unit. It is uncomfortable but is is working. Or just using a few Writeln and run program from console to see what is happening. Petr Dne 10.1.2011 15:41, Andrew Brunner napsal(a): Debugging under Linux (Ubuntu) is the largest

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

2011-01-10 Thread Andrew Brunner
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

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

2011-01-10 Thread Graeme Geldenhuys
Op 2011-01-10 16:41, Andrew Brunner het geskryf: 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

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

2011-01-10 Thread Martin
On 10/01/2011 14:41, Andrew Brunner 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

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

2011-01-10 Thread michael . vancanneyt
On Mon, 10 Jan 2011, Martin wrote: On 10/01/2011 14:41, Andrew Brunner 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

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

2011-01-10 Thread Martin
On 10/01/2011 15:02, michael.vancann...@wisa.be wrote: While debugging threaded apps should be no special at all, it probably still is And so is 64 bits at current = simply due to the lack of testing it had I don't understand what the problem is? I debug 64-apps with lazarus daily ?

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

2011-01-10 Thread michael . vancanneyt
On Mon, 10 Jan 2011, Martin wrote: On 10/01/2011 15:02, michael.vancann...@wisa.be wrote: While debugging threaded apps should be no special at all, it probably still is And so is 64 bits at current = simply due to the lack of testing it had I don't understand what the problem is? I

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

2011-01-10 Thread Andrew Brunner
On Mon, Jan 10, 2011 at 9:17 AM, michael.vancann...@wisa.be wrote: Well, since I exclusively work on Linux 64-bit, debugging works fine for me. Well, if you just use the application thread I didn't have many problems there in a while. My issues are with debugging the threaded network engine -

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

2011-01-10 Thread Joost van der Sluis
On Mon, 2011-01-10 at 09:40 -0600, Andrew Brunner wrote: On Mon, Jan 10, 2011 at 9:17 AM, michael.vancann...@wisa.be wrote: Well, since I exclusively work on Linux 64-bit, debugging works fine for me. Well, if you just use the application thread I didn't have many problems there in a

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

2011-01-10 Thread Andrew Brunner
The only reason why I have to maintain windows here is because of debugging. And I recently added a mechanism into the server that contains code that required testing and I must have restarted the desktop manager like 200 times... One time for each line of code :-o So during times of heavy

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

2011-01-10 Thread Andrew Brunner
On Mon, Jan 10, 2011 at 9:51 AM, Joost van der Sluis jo...@cnoc.nl wrote: What happens if you kill Lazarus/gdb/your application when the desktop freezes? Do you really have to restart gdm? Most of the times, nothing but ctrl+alt+f2 responds. The entire desktop goes into a halted state. Other

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

2011-01-10 Thread Joost van der Sluis
On Mon, 2011-01-10 at 10:19 -0600, Andrew Brunner wrote: On Mon, Jan 10, 2011 at 9:51 AM, Joost van der Sluis jo...@cnoc.nl wrote: What happens if you kill Lazarus/gdb/your application when the desktop freezes? Do you really have to restart gdm? Most of the times, nothing but ctrl+alt+f2

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

2011-01-10 Thread David Emerson
Andrew Brunner wrote: have to create a VirtualBox with XP on it. I can attest to this being a good idea. virtualbox is fantastic. ~D. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

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

2011-01-10 Thread David Emerson
On Mon 10 Jan 2011, Joost van der Sluis wrote: On Mon, 2011-01-10 at 10:19 -0600, Andrew Brunner wrote: On Mon, Jan 10, 2011 at 9:51 AM, Joost van der Sluis jo...@cnoc.nl wrote: What happens if you kill Lazarus/gdb/your application when the desktop freezes? Do you really have to restart

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

2011-01-10 Thread Graeme Geldenhuys
Op 2011-01-10 17:40, Andrew Brunner het geskryf: problems there in a while. My issues are with debugging the threaded network engine - when data arrives - app stops @ break point - I get It's not perfect, but I had great success debugging our threads using tiOPF's tiLog unit. You can specify