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

Method watchVariableAt

plugins/debuggercommon/tests/debuggertestbase.cpp:222–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222Variable* DebuggerTestBase::watchVariableAt(int index) const
223{
224 const auto watchesIndex = variableCollection()->indexForItem(variableCollection()->watches(), 0);
225 const auto childIndex = variableCollection()->index(index, 0, watchesIndex);
226 return qobject_cast<Variable*>(variableCollection()->itemForIndex(childIndex));
227}
228
229void DebuggerTestBase::verifyInferiorStdout(TestLaunchConfiguration& launchConfiguration,
230 const QStringList& expectedOutputLines)

Callers

nothing calls this directly

Calls 4

variableCollectionFunction · 0.85
indexForItemMethod · 0.80
indexMethod · 0.45
itemForIndexMethod · 0.45

Tested by

no test coverage detected