MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / print_stacktrace

Method print_stacktrace

src/backward.h:4086–4093  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4084
4085 template <typename ST>
4086 void print_stacktrace(ST& st, std::ostream& os, Colorize& colorize)
4087 {
4088 print_header(os, st.thread_id());
4089 _resolver.load_stacktrace(st);
4090 for (size_t trace_idx = st.size(); trace_idx > 0; --trace_idx) {
4091 print_trace(os, _resolver.resolve(st[trace_idx - 1]), colorize);
4092 }
4093 }
4094
4095 template <typename IT>
4096 void print_stacktrace(IT begin, IT end, std::ostream& os, size_t thread_id, Colorize& colorize)

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