MCPcopy Create free account
hub / github.com/GNOME/gjs / gjs_dumpstack

Function gjs_dumpstack

gjs/stack.cpp:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void gjs_dumpstack() {
33 Gjs::SmartPointer<GList> contexts{gjs_context_get_all()};
34
35 for (GList* iter = contexts; iter; iter = iter->next) {
36 Gjs::AutoUnref<GjsContext> gjs_context{GJS_CONTEXT(iter->data)};
37 gjs_context_print_stack_stderr(gjs_context);
38 }
39}
40
41std::string gjs_dumpstack_string() {
42 std::ostringstream all_traces;

Callers

nothing calls this directly

Calls 2

gjs_context_get_allFunction · 0.85

Tested by

no test coverage detected