[fpc-devel] Debug Info proposal

Daniƫl Mantione daniel.mantione at freepascal.org
Sat Jan 12 15:31:26 CET 2008

Op Sat, 12 Jan 2008, schreef Fabio Dell'Aria:

> I think the FreePascal debug info contains the full source code of the
> compiled software,

Your assumption is incorrect. The debug info contains
* Line info (which source code line belongs to which memory address).
* Type info (information about Pascal data types)
* Variable info (which variable is stored where)

> So will be possible:
> 1)...speedup the compiling process (write less bytes on disk and use less
> RAM to generate compiled file);
> 2)...the beginner programmers do not stop to uses FreePascal for its BIG
> compiled files.
> What do you think of this my proposal?

Not possible. Free Pascal's debug information also has to conform to 
stabs/dwarf specification (the debugger has to understand it), so there is 
not much freedom to make changes how FPC writes debug information.


More information about the fpc-devel mailing list