MCPcopy Create free account
hub / github.com/bombela/backward-cpp / print_stacktrace

Method print_stacktrace

backward.hpp:4030–4036  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4028
4029 template <typename ST>
4030 void print_stacktrace(ST &st, std::ostream &os, Colorize &colorize) {
4031 print_header(os, st.thread_id());
4032 _resolver.load_stacktrace(st);
4033 for (size_t trace_idx = st.size(); trace_idx > 0; --trace_idx) {
4034 print_trace(os, _resolver.resolve(st[trace_idx - 1]), colorize);
4035 }
4036 }
4037
4038 template <typename IT>
4039 void print_stacktrace(IT begin, IT end, std::ostream &os, size_t thread_id,

Callers

nothing calls this directly

Calls 4

load_stacktraceMethod · 0.80
thread_idMethod · 0.45
sizeMethod · 0.45
resolveMethod · 0.45

Tested by

no test coverage detected