d1vanov/libquentier

Evaluate Boost stacktrace library for stack trace functionality

Opened this issue · 0 comments

Currently libquentier includes API for providing stack traces: SysInfo::stackTrace (in headers/quentier/utility/SysInfo.h). Currently no Windows backend is actually implemented for it so the method just returns the following string: Stack trace obtaining is not implemented on Windows, patches are welcome.

Boost stracktrace library is available since boost 1.63 and includes more or less cross-platform support for getting stack traces. Would be nice to introduce optional use of this boost library by libquentier and see how it goes. By optional I mean either use this library or use the "old way" i.e. the current implementation doing nothing on Windows. Probably will also need to expose the use of this library in VersionInfo.h (auto-configured file by CMake from template at `headers/quentier/utility/VersionInfo.h.in).