Forum > Lazarus

FpDebug 1.0

<< < (3/9) > >>

devEric69:

--- Quote from: piola on June 29, 2021, 02:04:49 pm ---Just a side question out of curiosity: Does Delphi support that?

--- End quote ---

AFAIK: Yes. And this is what Joost, Martin, ..., are working on ( getters/setters are functions and procedures to be evaluated in the debugger ).

marcov:
Delphi also has visualizers that improve the view of certain common classes like tlist/tstringlist:

http://docwiki.embarcadero.com/RADStudio/Sydney/en/Debugger_Visualizers

Martin_fr:

--- Quote from: marcov on June 29, 2021, 02:26:47 pm ---Delphi also has visualizers that improve the view of certain common classes like tlist/tstringlist:

http://docwiki.embarcadero.com/RADStudio/Sydney/en/Debugger_Visualizers

--- End quote ---
The entire debugger frontend could do with a big redo/improvements...

Zaher:
Can I use it in my editor to debug simple pascal (one based program file .pas) or to debug some gnu compilers like c/c++?

Martin_fr:
There is no stand-alone fpdebug (yet / nor will be in a while / nor will it necessarily have gdb compatible in/output).
So probably no.

Unless "your editor" is the editor you wrote, and you want to include the fpdebug package, as well as you have some front end to interact with it. (note that iirc fpdebug is gpl, not lgpl)

"c based" should be ok-ish.

That is it should be reading the dwarf info and be able to access the data just fine.

But it will display them pascal-ish. And expect watch input to be pascal.
E.g. Foo^.bar  rather than foo->bar

Both input and output are separated from the rest, and can be replaced with modules for other languages.... But currently there is only pascal. (And the interface they use may still change...)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version