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

2024-07-01 Thread Sven Barth via fpc-pascal
Hairy Pixels via fpc-pascal schrieb am Mo., 1. Juli 2024, 03:49: > 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. > The *compiler* isn't

Re: [fpc-pascal] Sub-millisecond time measuring

2024-07-01 Thread Sven Barth via fpc-pascal
Adriaan van Os via fpc-pascal schrieb am Sa., 29. Juni 2024, 21:21: > Michael Van Canneyt via fpc-pascal wrote: > >> Is that a function in the RTL? I can't find it. > > > > No, these are platform-specific functions. > > > > g_get_monotonic_time is probably just an alias for the linux/freebsd > >

Re: [fpc-pascal] Sub-millisecond time measuring

2024-07-01 Thread Michael Van Canneyt via fpc-pascal
On Mon, 1 Jul 2024, Sven Barth via fpc-pascal wrote: Adriaan van Os via fpc-pascal schrieb am Sa., 29. Juni 2024, 21:21: Michael Van Canneyt via fpc-pascal wrote: Is that a function in the RTL? I can't find it. No, these are platform-specific functions. g_get_monotonic_time is probably

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

2024-07-01 Thread Hairy Pixels via fpc-pascal
the heap trace must be reading the dwarf info then I guess, which makes sense. > On Jul 1, 2024, at 4:12 PM, Sven Barth via fpc-pascal > wrote: > > Hairy Pixels via fpc-pascal schrieb am Mo., > 1. Juli 2024, 03:49: > oh it uses external debug symbols! Now it's finally reporting some locations

Re: [fpc-pascal] Sub-millisecond time measuring

2024-07-01 Thread Adriaan van Os via fpc-pascal
Sven Barth via fpc-pascal wrote: I wouldn't introduce a dependency for something like GTK (especially GTK!) on macOS only to receive some timings. Simpler and more straight forward to just use the correct functions of the OS. Of course not, Unless you are doing some cross-development, develo