Vincent Snijders ha scritto:
Fabio Dell'Aria schreef:
Others benefits:
1)...speedup compilation (allocated less memory and write less bytes
on disk).
2)...decreases Installation size;
3)...do not confuse new users with LCL code, during the debugging
process.
I think it can be set as an installation
Please, provide patches for the several create installer scripts.
or a Project option (as in Delphi for the "Use Debug DCUs" compiler
option)!
How is this different from using the correct compiler options?
My two cents. Without LCL debug information it becomes very hard to
debug your code. You've done something wrong, you get an exception, and
in most cases the exception will pop up when LCL-RTL code is executed.
If you don't see the code, if your stack trace just tells 0FFE54621
instead of gtk_bitmap_free (just making up a fake example) you can't
understand that the exceptions comes from your bitmap being null.
Instead of tampering with debug information, why not add an extra menu
entry "Minimize application size" to the "Tools" menu, which just
executes a "strip -s $TargetFile"?
I've just added that as a custom tool, but newbies can find it handy.
Giuliano
--
Giuliano Colla
Whenever people agree with me, I always feel I must be wrong (O. Wilde)
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives