[fpc-pascal] Logging full runtime-error/exception backtrace
Sven Barth
pascaldragon at googlemail.com
Mon Feb 20 16:59:33 CET 2012
Am 20.02.2012 16:52, schrieb Everton Vieira:
> Is supposed that with the -gl and the BackTraceStrFunc would get all the
> info with the line number as well? Because if is true i've seen not work
> and could test again.
This only works if you do not strip the debug info from the executable
(either by using the strip command - as Martin wrote - or by using -Xg -
as I wrote). Some people do not won't to include the debug information,
because they increase the file size of the executable quite a bit
(especially if you use the LCL).
Example of Lazarus.exe:
* executable size: ~14MB
* debug info size: ~145MB
Regards,
Sven
More information about the fpc-pascal
mailing list