Recent

Author Topic: New "FpDebug: Only Dwarf supported" dialog in Lazarus 2.2.0  (Read 1022 times)

rcmz

  • New Member
  • *
  • Posts: 38
hi to all,

using lazarus 2.2.0

when i open a project build with 2.0.10 and open in 2.2.0 this is ok when I try to run it in 2.2.0 i get
"The project does not write in Dwarf format. The fpdebug internal Dwarf-debugger supports only Dwarf"

then i have 4 buttons:
enable Dwarf 2 with sets        Dwarf 2 (-gw)         Dwarf 3 (-gw3)        Cancel

Which button is the correct one ?

TIA
Ramiro
« Last Edit: April 04, 2022, 07:35:20 pm by Martin_fr »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 8100
  • Debugger - SynEdit - and more
    • wiki
Re: dwarf fpdebug
« Reply #1 on: March 18, 2022, 07:31:32 pm »
All three will work.

"Dwarf 2": this is the minimum. It has no advantages. E.g., it can not display watches for "set of". IMHO, no reason to use at all.

"Dwarf 2 with sets": Use this if:
 - you work with variants (not yet avail in dwarf 3, will be fixed at some point)
 - you need to often switch between the new FpDebug and the old GDB
    -> pro: GDB currently has the better disassembler, and gdb currently often has better stack WHILE your app is in the Win-Kernel
    -> contra: GDB occasionally crashes.

"Dwarf 3": Best setting, unless one of the above condition applies to you.


The main diffs between the 3 settings are the display of some types. E.g. AnsiString may be displayed as PChar when using "dwarf 2 with/without". (though this may be OS dependent)
As for the big issues, like "property" inspection => all 3 are equal.

rcmz

  • New Member
  • *
  • Posts: 38
Re: dwarf fpdebug
« Reply #2 on: March 18, 2022, 11:02:21 pm »
thx

for the info.

Thx.
Ramiro

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 8100
  • Debugger - SynEdit - and more
    • wiki
Re: New "FpDebug: Only Dwarf supported" dialog in Lazarus 2.2.0
« Reply #3 on: April 04, 2022, 07:36:37 pm »
Changed thread title (message subject).

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 8100
  • Debugger - SynEdit - and more
    • wiki
« Last Edit: April 05, 2022, 01:48:06 pm by Martin_fr »

 

TinyPortal © 2005-2018