Boost C++ Libraries Home Libraries People FAQ More

Next

Chapter 1. Boost.Stacktrace 1.0

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Table of Contents

Motivation
Getting Started
How to print current call stack
Handle terminates, aborts and Segmentation Faults
Better asserts
Exceptions with stacktrace
Enabling and disabling stacktraces
Saving stacktraces by specified format
Getting function information from pointer
Global control over stacktrace output format
Build, Macros and Backends
Acknowledgements
Boost.Stacktrace Header Reference
Header <boost/stacktrace/stacktrace.hpp>
Header <boost/stacktrace/const_iterator.hpp>
Header <boost/stacktrace/frame.hpp>
Header <boost/stacktrace/stacktrace_fwd.hpp>

How to display the call sequence in C++? From what function was called the current function? What call sequence led to an exception?

Boost.Stacktrace library is a simple library that provides information about call sequence in a human-readable form.

[Warning] Warning

This is not an official Boost library! It wasn't reviewed and can't be downloaded from www.boost.org. This library is available to the community to know real interest and get comments for refinement. The intention is to submit library for formal review, if community thinks that it is interesting!

Last revised: December 10, 2016 at 22:54:47 GMT


Next