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

Bogusław Brandys brandys at o2.pl
Wed Apr 8 11:24:46 CEST 2009

Sergei Gorelkin wrote:
> Mattias Gaertner wrote:
>>> Btw a little different question : what is needed to allow lineinfo 
>>> reading stack trace from external file (in case of exception) for 
>>> example of the name corresponding to exe name but with different 
>>> extension. FPC can now dump debug info into such separate file. Such 
>>> feature would be very useful as compilation option for example.
>> Write a lineinfo unit that supports the external file.
> Isn't it already written? It looks like exeinfo.pp (unit shared by 
> lineinfo and lnfodwrf) supports this feature. Didn't test it though.
> However, it gets the name of debug info file from the debug section of 
> the executable, so the executable shouln't be stripped in this case.
> Regards,
> Sergei

That's great! Maybe it could be changed so if debug info filename is not 
found in debug section of executable then it tries to open a separate 
debug file generated by fpc (which can be of the same name as executable 
but different extension).

I must investigate this option.

Best regards

More information about the Lazarus mailing list