<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div dir="ltr">
<div dir="ltr">You also have to add -Xg, or ‘Use external debug symbols file’ in Laxarus</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
</div>
<div id="ms-outlook-mobile-signature" dir="ltr">
<div></div>
</div>
<div id="mail-editor-reference-message-container" class="ms-outlook-mobile-reference-message">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif"><b>Van:</b> fpc-pascal <fpc-pascal-bounces@lists.freepascal.org> namens Hairy Pixels via fpc-pascal <fpc-pascal@lists.freepascal.org><br>
<b>Verzonden:</b> vrijdag, juni 28, 2024 5:37 PM<br>
<b>Aan:</b> FPC-Pascal users discussions <fpc-pascal@lists.freepascal.org><br>
<b>CC:</b> Hairy Pixels <genericptr@gmail.com><br>
<b>Onderwerp:</b> [fpc-pascal] Heap trace on mac still not working?
<div> </div>
</font></div>
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><font size="2"><span style="font-size:11pt;">
<div class="PlainText">One more thing that's getting to me today. Heap trace on macOS still seems to be broken, i.e. using -gh I only get addresses and no line numbers. Has been for years it feels like. Is this is just broken forever? I see this issue from
<br>
years ago still open. <a href="https://gitlab.com/freepascal.org/fpc/source/-/issues/32775">
https://gitlab.com/freepascal.org/fpc/source/-/issues/32775</a><br>
<br>
1275 memory blocks allocated : 2011994/2023248<br>
1018 memory blocks freed : 1947786/1959032<br>
257 unfreed memory blocks : 64208<br>
True heap size : 1245184 (96 used in System startup)<br>
True free heap : 1123264<br>
Should be : 1131528<br>
Call trace for block $0000000100760100 size 224<br>
$00000001001D2B74<br>
$00000001001CC0F0<br>
$00000001002D8A68<br>
$00000001002D8C08<br>
$00000001002D8F78<br>
$00000001002DEACC<br>
$00000001001D199C<br>
$00000001001BA254<br>
$00000001001DF02C<br>
$00000001001B9F80<br>
$00000001001BA228<br>
$000000018A4E60E0<br>
<br>
<br>
<br>
Regards,<br>
Ryan Joseph<br>
<br>
_______________________________________________<br>
fpc-pascal maillist - fpc-pascal@lists.freepascal.org<br>
<a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br>
</div>
</span></font></div>
</div>
</body>
</html>