Daniël Mantione wrote:
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.
Daniel
Could we have debug info as separate file ? If this would be possible I
could create release stripped EXE and yet be able to obtain unit/line of
exception combining stacktrace numeric output with correct debug info file
Regards
Boguslaw
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel