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

Sergei Gorelkin sergei_gorelkin at mail.ru
Wed Apr 8 04:49:35 CEST 2009


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



More information about the Lazarus mailing list