[fpc-devel] A little something I've been working on...

Kostas Michalopoulos badsectoracula at gmail.com
Sun Feb 22 19:11:56 CET 2026


On 2/21/26 7:36 PM, Martin Frb via fpc-devel wrote:
> Well, yes, you still save on **encoding** Pascal into Dwarf. But you 
> have to decode 2 debug formats. (or more, depending on which others you 
> want to support, in any case: 1 more than otherwise)

FWIW in practice FPC being able to emit DWARF debug information is 
useful for other tools too, like Valgrind and Perf (and other 
performance analyzers) so i do not think that dropping DWARF support is 
a good idea.

Of course a better debug experience with FPC + Lazarus would be great 
because there are always annoyances here and there but that shouldn't 
happen by removing existing functionality (being able to step into 
non-FPC code) and interoperability (being able to use FPC binaries with 
any tool that understands DWARF).



More information about the fpc-devel mailing list