Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate Boost stacktrace library for stack trace functionality #53

Open
d1vanov opened this issue Jan 15, 2018 · 0 comments
Open

Evaluate Boost stacktrace library for stack trace functionality #53

d1vanov opened this issue Jan 15, 2018 · 0 comments

Comments

@d1vanov
Copy link
Owner

d1vanov commented Jan 15, 2018

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant