MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / OnStackFrame

Method OnStackFrame

src/crash_writer.cpp:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 void OnStackFrame(wxStackFrame const& frame) override final {
57 if (!fp.good()) return;
58
59 fp << agi::format("%03u - %p: %s", frame.GetLevel(), frame.GetAddress(), frame.GetName().utf8_str().data());
60 if (frame.HasSourceLocation())
61 fp << agi::format(" on %s:%u", frame.GetFileName().utf8_str().data(), frame.GetLine());
62
63 fp << "\n";
64 }
65};
66#endif
67}

Callers

nothing calls this directly

Calls 4

GetFileNameMethod · 0.80
formatFunction · 0.70
GetNameMethod · 0.45
GetLineMethod · 0.45

Tested by

no test coverage detected