backtrace from shared library?

Peter B via fpc-pascal <[email protected]>
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <[email protected]>
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
_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.