Re: heap trace with line info on macOS

Jonas Maebe via fpc-pascal <[email protected]> Wed, 15 Oct 2025 20:29:02 +0200
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <[email protected]>
On 15/10/2025 11: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?

It should work on trunk if you also compile with -Xg


Jonas

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal