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

We are trying to capture a backtrace in a parent class constructor, but it is failing to do so. The code looks like this: ``` class Error() { private: backward::StackTrace...

I'm trying to suppress clang-tidy warnings from this library. I'm getting. ``` [31/79] Building CXX object _deps/backward-build/CMakeFiles/backward.dir/backward.cpp.o /Users/ryanpeach/Documents/Workspace/OrbitsSandCpp/build/_deps/backward-src/backward.cpp:40:1: warning: static objects are disallowed; if possible, use a constexpr constructor instead...

It allows to use any ostream-like printers. I will make a PR, if you won't mind :blush: Thanks for your library !

My sample code is like this: ```cpp #include #include "backward.hpp" #include int main() { backward::SignalHandling sh; int sum = oneapi::tbb::parallel_reduce( oneapi::tbb::blocked_range(1,101), 0, [](oneapi::tbb::blocked_range const& r, int init) -> int {...

With `BACKWARD_HAS_LIBUNWIND=1` on an Arm MAC, `backward.hpp` has compiler errors. The first seems to be a missing semicolon at: https://github.com/bombela/backward-cpp/blob/65a769ffe77cf9d759d801bc792ac56af8e911a3/backward.hpp#L1023 My error log is: ``` /Users/anovak/workspace/vg/include/backward.hpp:1013:27: error: expected ';' after...

Hi, Nice library, I like using it :). We are doing some embedded development on a Xilinx Zynq Ultrascale platform. AFAIK this platform runs an ELF binary and is build...

Following is my sample project setup. ```bash # conan file $ cat

I have mingw-w64 and libbfd installed in msys2. When I try to do a simple stacktrace with -DBACKWARD_HAS_BFD=1 I get this ```cpp Stack trace (most recent call last): The specified...

I'm building and installing 90398eef20f4e7e0e939322d7e84f9c52078a325 in Ubuntu 22 LTS. I'm installing it to a non-default location within the binary directory I used to build backward-cpp. My intention is to use...

I am seeing a bunch of failures with a recent version of libdwarf ``` In file included from third_party/backward-cpp/suicide.cc:38: bazel-out/k8-dbg/bin/external/backward-cpp/_virtual_includes/backward-cpp/backward/backward.hpp:2252:12: error: no matching function for call to 'dwarf_finish' return dwarf_finish(dwarf,...