[Lazarus] Debugger constantly crashing.

Martin Frb lazarus at mfriebe.de
Sun Aug 27 23:00:40 CEST 2017


On 27/08/2017 21:54, Donald Ziesig via Lazarus wrote:
> On 08/27/2017 04:43 PM, Martin Frb via Lazarus wrote:
>>
>> 2) Try compiling with dwarf or stabs (project options / debugging). I 
>> think the default is stabs, so you should try dwarf.
>>
>>
>>
> Thanks Martin.  I'll try these suggestions and let you (and the list) 
> know how they work.

Btw that is dwarf 2  (dwarf 3 is likely going to make it worse)
Dwarf 2 + sets, is the recommended one.

There is a wiki http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips

You can run the testcase (components/gdbmidebugger/test)
That includes some tests, that will crash some versions of gdb. (but be 
fine on others).
(You may or may not have to create the config files (see in folder) to 
run the test / and there is no real benefit in running it, other than if 
you want to analyse thinks in more detail....)



More information about the Lazarus mailing list