Skip to content

Floweynt/stacktrace

Repository files navigation

stacktrace build

Header-only cross-platform C++11 stacktraces, without boost.

Features

Simple usage (one line!):

#include "stacktrace.h"

int main()
{
  stacktrace::dump_stacktrace(); // print stacktrace to cout
}

This will print out (built in debug mode for symbols):

AT: [0000562c78b23d12] /home/runner/work/stacktrace/stacktrace/examples/main.cpp:108 (main)
AT: [00007f1831dda0b3] UNK:0 (UNK)
AT: [0000562c78b2390e] UNK:0 (_start)

Advanced usages here!

Supported Versions

Supported compilers:

  • MSCV
  • g++
  • clang

Supported operating systems:

  • windows
  • linux
  • macos (not tested)

Building

Check out the wiki page

About

C++ stacktraces, without needing to use boost

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published