Boost logo

Boost Users :

From: Bill Somerville (bill_at_[hidden])
Date: 2020-12-05 15:28:21


On 05/12/2020 11:57, Mehdi Est via Boost-users wrote:
> Hi Everyone,
>
> I am trying to print stack-trace using boost *HEADER-ONLY. *I am using
> descriptions under Configuration and Build
> <https://www.boost.org/doc/libs/1_74_0/doc/html/stacktrace/configuration_and_build.html#stacktrace.configuration_and_build.windows_deployment_and_symbol_fi> to
> compile a simple code using QT MinGW32 I also use the below macros to
> tune boost:
>
> -DBOOST_STACKTRACE_USE_WINDBG -DBOOST_STACKTRACE_USE_ADDR2LINE
> -DBOOST_STACKTRACE_ADDR2LINE_LOCATION
>
> I have no clue why the function names and line numbers are not showing up.
>
> Any comment is appreciated.
> Mike

Hi Mike,

this page:
https://www.boost.org/doc/libs/develop/doc/html/stacktrace/configuration_and_build.html
says that the dbgeng library can only extract symbolic information from
64-bit MinGW executables. It looks like you need to use the 3rd-party
libbacktrace library with 32-bit MinGW executables to capture that
information.

Regards
Bill Somerville.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net