[Lazarus] Large program size - 1.8 MB for empty GUI project

Paul Ishenin webpirat at mail.ru
Sat Apr 4 01:49:16 CEST 2009


Bogusław Brandys wrote:
> There is another question, which is debug info.I think it's precious to 
> have correct unit/line information in case of application crash in 
> customer computer. That means huge above 33MB applications.
> I would be glad if debug info could be dumped into separate file AND 
> used by lineinfo and heaptrc in case of exception to show stack trace.Of 
> course as an optional way of distributing application.
>   
Debug info can be placed in a separate file - you need to use -Xg option 
for that. I have no idea though whether heaptrc or lineinfo units can 
work with it but gdb can.

Best regards,
Paul Ishenin.



More information about the Lazarus mailing list