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

Method add

kdevplatform/debugger/variable/variablecollection.cpp:257–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257Variable* Watches::add(const QString& expression)
258{
259 if (!hasStartedSession()) return nullptr;
260
261 Variable* v = currentSession()->variableController()->createVariable(
262 model(), this, expression);
263 appendChild(v);
264 v->attachMaybe();
265
266 return v;
267}
268
269const Variable* Watches::returnValueVariable() const
270{

Callers 1

slotAddWatchMethod · 0.45

Calls 6

hasStartedSessionFunction · 0.85
currentSessionFunction · 0.85
modelFunction · 0.85
attachMaybeMethod · 0.80
createVariableMethod · 0.45
variableControllerMethod · 0.45

Tested by

no test coverage detected