MCPcopy Create free account
hub / github.com/KDAB/GammaRay / fullTrace

Method fullTrace

core/stacktracemodel.cpp:91–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91QStringList StackTraceModel::fullTrace() const
92{
93 QStringList bt;
94 bt.reserve(m_frames.size());
95 for (const auto &frame : std::as_const(m_frames)) {
96 if (frame.location.isValid())
97 bt.push_back(frame.name + QLatin1String(" (") + frame.location.displayString() + QLatin1Char(')'));
98 else
99 bt.push_back(frame.name);
100 }
101
102 return bt;
103}

Callers 2

generateFullTraceMethod · 0.45
messageContextMenuMethod · 0.45

Calls 4

reserveMethod · 0.80
sizeMethod · 0.45
isValidMethod · 0.45
displayStringMethod · 0.45

Tested by

no test coverage detected