[fpc-pascal] backtrace from shared library?

Peter B peter at pblackman.plus.com
Thu Feb 20 20:11:29 CET 2025


Hi,

Is there any way to obtain a backtrace
from exceptions thrown in a shared library?

I've tried using DumpExceptionCallStack
   https://wiki.freepascal.org/Logging_exceptions
but the problem is that ExceptFrameCount is zero.

There does not seem to be any stack at all.
No hexadecimal addresses, let alone line numbers.

(backtraces from exceptions outside the library are working just fine)


Regards,
Peter


More information about the fpc-pascal mailing list