MCPcopy Create free account
hub / github.com/boostorg/stacktrace / dump_compact

Function dump_compact

example/trace_addresses.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13namespace bs = boost::stacktrace;
14void dump_compact(const bs::stacktrace& st) {
15 for (unsigned i = 0; i < st.size(); ++i) {
16 bs::frame frame = st[i];
17 std::cout << frame.address() << ',';
18 }
19
20 std::cout << std::endl;
21}
22#else
23//[getting_started_trace_addresses
24#include <boost/stacktrace.hpp>

Callers 1

mainFunction · 0.85

Calls 1

addressMethod · 0.80

Tested by

no test coverage detected