Op 09-01-19 om 09:40 schreef Dennis via lazarus:

Joost van der Sluis via lazarus wrote:
Op 22-11-18 om 11:00 schreef Santiago A. via lazarus:

I would like to fiddle a little with FPdebug, but I'm a little confused. I have lazarus 1.8.4 on window 7 32 bits

I have installed the next packages

FpDebug 0.0
lazdebuggerfp

- Once you have installed lazdebuggerfp you have to go to the IDE-options. (not the package or project options, but the IDE-options)
- Then select 'Debugger' on the left
- Select 'FpDebug internal Dwarf-debugger (beta)' on the right



I downloaded Lazarus 2.1 with FPC 3.0.4 win 64 bit.

When I tried to debug with fpdebug, it asked me


Which one should I choose?

I saw this screen also, and was quite confused. As far as I know fpc uses Dwarf as default now. But Martin probably had a reason to add this.

Select -gw3. It basically means that the compiler is allowed to use Dwarf-3 specific functions. (In practice: proper string indexing, so 1-based instead of 0-based.) Older versions of Gdb did not handle those properly.

Otoh, it could be that Martin added work-arounds for the string issues with Dwarf-2. But this all has to be tested. ;)

So I would say, use the newest version, Dwarf 3, -gw3.

Regards,

Joost.
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to