| 30 | } |
| 31 | |
| 32 | void 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 | |
| 41 | std::string gjs_dumpstack_string() { |
| 42 | std::ostringstream all_traces; |
nothing calls this directly
no test coverage detected