[fpc-pascal] heap trace with line info on macOS
Peter B
peter at pblackman.plus.com
Wed Oct 15 21:16:38 CEST 2025
On 15/10/2025 10:15, mailinglists--- via fpc-pascal wrote:
> Hi.
>
> I can enable heap trace and line info as usual with the -gh and -gl command line parameters - to report any memory leaks in my application. But no matter what I try, I get the memory leak dump, but always without line information.
>
> Is this not a supported feature on macOS?
>
> Regards,
> Graeme
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Just a thought in this.
If the problem is arising in the RTL or LCL, there will not be line information
unless those parts are also compiled with -gl etc.
If GTK2 is involved, the --sync option might be needed.
Cheers,
Peter
More information about the fpc-pascal
mailing list