Registry / utility / cpptrace

cpptrace

JSON →
library1.0.4vcpkgunverified

Simple, portable, and self-contained stacktrace library for C++11 and newer

vcpkg install cpptrace
INSTALL
IMPORT
SIG · CPPTRACE
C
cpptrace
utilitycppv1.0.4
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.

cpptrace/cpptrace.hpp
#include <cpptrace/cpptrace.hpp>

Print a stack trace from any point in code

#include <cpptrace/cpptrace.hpp> #include <iostream> void foo() { cpptrace::generate_trace().print(); } int main() { foo(); return 0; }
Debug
Known issues
gotchaOn some platforms, requires debug symbols or specific linker flags for full symbol resolution
fix
Compile with -g and ensure no stripping of symbols
affects: *
Upgrade
Version history
1.0.4latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
Resources

No resource links recorded.

cpptrace — pip install cpptrace · libregistry