oh it uses external debug symbols! Now it's finally reporting some locations,
thanks I should have been able to figure that out. Hmmm can't the compiler
print stack traces without debug info? Maybe not.
> On Jun 30, 2024, at 9:34 PM, Jer Haan wrote:
>
> You also have to add -Xg, or ‘Use external debug symbols file’ in Laxarus
>
>
> Van: fpc-pascal namens Hairy Pixels
> via fpc-pascal
> Verzonden: vrijdag, juni 28, 2024 5:37 PM
> Aan: FPC-Pascal users discussions
> CC: Hairy Pixels
> 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 $000100760100 size 224
> $0001001D2B74
> $0001001CC0F0
> $0001002D8A68
> $0001002D8C08
> $0001002D8F78
> $0001002DEACC
> $0001001D199C
> $0001001BA254
> $0001001DF02C
> $0001001B9F80
> $0001001BA228
> $00018A4E60E0
>
>
>
> Regards,
> Ryan Joseph
>
> ___
> fpc-pascal maillist - fpc-pascal@lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Regards,
Ryan Joseph
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal