backward-cpp icon indicating copy to clipboard operation
backward-cpp copied to clipboard

A beautiful stack trace pretty printer for C++

Results 110 backward-cpp issues
Sort by recently updated
recently updated
newest added

# Description of issue Neither automatic (linking with `backward.cpp` and printing a stack trace on SEGV) or manual (programmatically using `StackTrace` and `TraceResolver`) produce line numbers, even when compiling with...

I encountered a problem when using libdw with Clang 13 on Linux, where backward was not printing source location information for code compiled with Clang (it was visible for gcc-compiled...

Got this with clang 13 and msan with a release build: ``` ==47098==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x781634 in backward::TraceResolverLinuxImpl::find_in_section(unsigned long, unsigned long, backward::TraceResolverLinuxImpl::bfd_fileobject*, bfd_section*, backward::TraceResolverLinuxImpl::find_sym_result&) /home/jenkins/agent/workspace/ObjectBox-Sanitizers_cluster/cbuild/Release-msan/objectbox/src/main/cpp/../../../../../../objectbox/src/main/cpp/external/backward/backward.hpp:1679:9 #1 0x1721cfb in bfd_map_over_sections...

The backward::SignalHandling only supports outputting traces via backward::Printer takes a disadvantage to designers to customize their output style. This PR makes a derived class of backward::Printer can override print functions...

When I run this code on windows: ``` #include "backward.hpp" int main (int argc, char *argv[]) { using namespace backward; // TraceResolver thisIsAWorkaround; StackTrace st; st.load_here(32); Printer p; p.print(st); return...

Hello, Your tool is the best we could find for getting the stack trace of one thread, is there a way, even partial, to get the stack traces of all...

* Ubuntu 20.04 and 18.04 use a libdwarf include directory (probably to avoid confusion with the separate `dwarf.h` file)

Currently, the CMake script sets the `CMAKE_CXX_STANDARD` variable to `11`. This leaks into parent projects when adding backward-cpp with `add_subdirectory()`. I have therefore modified the CMake script to explicitly set...

Not sure if this of interest for anyone except me - but I get this error when using backward.h on OSX 10.5 (ppc) ``` In file included from backends/stacktraces/stacktrace.cpp:51:0: backends/stacktraces/backward.h:...

This library is working wonderfully when using x86_64 using libunwind (v1.6-stable), however, when I try to throw an exception on an aarch64 device, then I get a segfault inside the...