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

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Mon Jan 10 16:02:54 CET 2011



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 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.
>> 
>> Recently, main threaded debugging doesn't crash the gdm but threading
>> still does.  If I set a break point for a threaded method, I can step
>> two or three lines down/deep before the desktop manager hangs and I
>> have to open a terminal session with ctrl+alt+F2 and sudo service gdm
>> restart.
> In your case you should refine your statement:
>   "Debugging under Linux (Ubuntu) is the largest development pain"
> versus:
>   "threaded debugging"
>
> 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 ? (admittedly, without threads).

Michael.




More information about the Lazarus mailing list