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

Bogusław Brandys brandys at o2.pl
Thu Apr 9 11:41:36 CEST 2009

Paul Ishenin wrote:
> 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.

Well,they do not work with debug info placed into separate file.It is 
probably minor problem, I've found that .stabs and .stabstr sections are 
not found by function which do it flawlessly when working with original 
executable with debug sections.


More information about the Lazarus mailing list