MCPcopy Create free account
hub / github.com/KDE/kdevelop / getFunctionOrAddress

Function getFunctionOrAddress

plugins/debuggercommon/miframestackmodel.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20using namespace KDevMI::MI;
21
22QString getFunctionOrAddress(const Value &frame)
23{
24 if (frame.hasField(QStringLiteral("func")))
25 return frame[QStringLiteral("func")].literal();
26 else
27 return frame[QStringLiteral("addr")].literal();
28}
29
30QPair<QString, int> getSource(const Value &frame)
31{

Callers 2

handleThreadInfoMethod · 0.70
handleMethod · 0.70

Calls 2

hasFieldMethod · 0.80
literalMethod · 0.80

Tested by

no test coverage detected