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

Method initialString

plugins/debuggercommon/mi/micommand.cpp:45–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45QString MICommand::initialString() const
46{
47 QString result = QString::number(token());
48
49 if (type() == NonMI) {
50 result += command_;
51 } else
52 {
53 result += miCommand();
54
55 if (m_thread != -1)
56 result += QStringLiteral(" --thread %1").arg(m_thread);
57 if (m_frame != -1)
58 result += QStringLiteral(" --frame %1").arg(m_frame);
59
60 if (!command_.isEmpty())
61 result += QLatin1Char(' ') + command_;
62 }
63
64 return result;
65}
66
67bool MICommand::isUserCommand() const
68{

Callers 5

queueCmdMethod · 0.80
executeCmdMethod · 0.80
explainDebuggerStatusMethod · 0.80
dumpQueueMethod · 0.80
testUserCommandMethod · 0.80

Calls 2

typeFunction · 0.50
isEmptyMethod · 0.45

Tested by 1

testUserCommandMethod · 0.64