[Lazarus] gnu debugger

Martin lazarus at mfriebe.de
Sat Nov 27 13:48:02 CET 2010


On 27/11/2010 12:45, Martin wrote:
> On 27/11/2010 12:23, ugaciaka wrote:
>> Hi,
>>   a
>> I use Lazarus on Arch Linux 64bit. I installed gdb and configured this
>> debugger. But when add a breakpoint in my source and start compilation
>> this not effect.
>>
>> What can I do?
>
> - Have a look here: download the latest gnu debugger from the link 
> Vincent posted (last note)
Sorry the link is for windows.

You may need to find how to upgrade gdb for linux.
Not sure what minimum version is required on linux.

It may even be that your gdb is already fine. Try upgrading Lazarus first.

>
> - You also must update to the latest Lazarus snapshot. Older versions 
> of Lazarus do not work with the 64 bit debugger.
This is definitely true for win and linux. Only the most recent 
snapshots of Lazarus (last 1 or 2 weeks) support debugging on 64 bit

>
> - As for fpc, I know t was tested for fpc from svn trunk. But it may 
> work with fpc 2.4.2 too (tests are pending

Also compile your apps with dwarf -gw




More information about the Lazarus mailing list