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

A beautiful stack trace pretty printer for C++

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

**tl;dr**: `backward-cpp` gives incomplete stack-traces (while `gdb` gives complete ones); I'm trying to understand if this is solvable. ## Problem I'm experiencing an issue where `backward-cpp` gives me a stack-trace...

* Dl_info is required when BACKWARD_SYSTEM_LINUX is defined (was a problem for BACKWARD_HAS_DW == 1)

### Preface I looked through the code and saw that at [Line 897](https://github.com/dutow/backward-cpp/blob/7cbf4c25e9d925b9b5da815901468b4bf6adfcce/backward.hpp#L897) it says that `StackWalk64` only works when using PDBs, and from what I could tell there aren't...

My library links in a relatively recent version of libdwarf, commit [c70361](https://github.com/davea42/libdwarf-code/tree/c7036121fb9d47539953daf704f7dc29a3aef274). This version removed old methods (like `dwarf_get_ranges_a`, `dwarf_siblingof`) in favour of the latest versions of the function (i.e....

Hi, I've integrated backward.hpp into my code. I enabled the flag `#define BACKWARD_HAS_DW 1` and I linked it with the `dw` library. I am using it with the default POSIX...

I have a test project compiled on an aarch64 system (Jetson Xavier) that looks like: ``` int main() { bool a = false; char *ptr2 = (char *)42; *ptr2 =...

clang-cl needs special handling for non-MSVC options. Also bumping CMake version to 3.1 to avoid CMP0054 OLD behavior. "-Wall" causes the MSVC-compatible driver to do the equivalent of "-Weverything." "-g"...

It looks like UNW_INIT_SIGNAL_FRAME is now an enum and no longer a `#define`: https://git.savannah.nongnu.org/cgit/libunwind.git/tree/include/libunwind-common.h.in#n104 As a result, the following check and usage are not working correctly: https://github.com/bombela/backward-cpp/blob/77946058afe52a1d43f5b6243384fe45e7c2aa64/BackwardConfig.cmake#L66 https://github.com/bombela/backward-cpp/blob/77946058afe52a1d43f5b6243384fe45e7c2aa64/backward.hpp#L1022

Apologies if I missed this (I did search for "reverse", but searching for "backwards" clearly isn't going to work!), but is there a way to get `backwards-cpp` to spit out...

This integrates the stack trace with the Visual Studio output window. This allows double clicking in file/line combos which navigates the IDE to the corresponding file & line. VS did...