[fpc-pascal] Heap trace on mac still not working?

Jer Haan jdehaan2014 at gmail.com
Sun Jun 30 16:34:55 CEST 2024


You also have to add -Xg, or ‘Use external debug symbols file’ in Laxarus


________________________________
Van: fpc-pascal <fpc-pascal-bounces at lists.freepascal.org> namens Hairy Pixels via fpc-pascal <fpc-pascal at lists.freepascal.org>
Verzonden: vrijdag, juni 28, 2024 5:37 PM
Aan: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
CC: Hairy Pixels <genericptr at gmail.com>
Onderwerp: [fpc-pascal] Heap trace on mac still not working?

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
years ago still open. https://gitlab.com/freepascal.org/fpc/source/-/issues/32775

1275 memory blocks allocated : 2011994/2023248
1018 memory blocks freed     : 1947786/1959032
257 unfreed memory blocks : 64208
True heap size : 1245184 (96 used in System startup)
True free heap : 1123264
Should be : 1131528
Call trace for block $0000000100760100 size 224
  $00000001001D2B74
  $00000001001CC0F0
  $00000001002D8A68
  $00000001002D8C08
  $00000001002D8F78
  $00000001002DEACC
  $00000001001D199C
  $00000001001BA254
  $00000001001DF02C
  $00000001001B9F80
  $00000001001BA228
  $000000018A4E60E0



Regards,
Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20240630/e067d2c0/attachment.htm>


More information about the fpc-pascal mailing list