vehtrace is a compact C++20 Vectored Exception Handler helper for debugging demos and diagnostics.
It installs an explicit RAII tracer, records the last exception event, and prints instruction/stack/frame pointers for common exceptions. Access violations also include decoded read/write/execute intent and the target memory address.
vehtrace::tracer tracer;
tracer.start();
DebugBreak();The library does not swallow exceptions by default. It observes, records, prints, and lets the normal exception chain continue.
cmake -S . -B build -DVEHTRACE_BUILD_EXAMPLES=ON
cmake --build build --config Release