Registry / utility / libbacktrace

libbacktrace

JSON →
library2024-11-30vcpkgunverified

The libbacktrace library may be linked into a program or library and used to produce symbolic backtraces.

vcpkg install libbacktrace
INSTALL
IMPORT
SIG · LIBBACKTRACE
L
libbacktrace
utilitycppv2024-11-30
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

backtrace.h
#include <backtrace.h>

Print a backtrace to stdout.

#include "backtrace.h" #include <cstdio> int main() { struct backtrace_state* state = backtrace_create_state(NULL, 0, NULL, NULL); if (state) { backtrace_print(state, 0, stdout); } return 0; }
Debug
Known issues
gotchaRequires linking with libbacktrace; not header-only.
fix
Ensure target_link_libraries includes libbacktrace::libbacktrace.
affects: *
Upgrade
Version history
2024-11-30latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources

No resource links recorded.

libbacktrace — pip install libbacktrace · libregistry