Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2025-02

backtrace from shared library?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Peter B

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 hexadecimal addresses, let alone line numbers.

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

Regards,
Peter

Reply by email