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

Method update

plugins/debuggercommon/mivariablecontroller.cpp:60–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void MIVariableController::update()
61{
62 qCDebug(DEBUGGERCOMMON) << "autoUpdate =" << autoUpdate();
63 if (autoUpdate() & UpdateWatches) {
64 variableCollection()->watches()->reinstall();
65 }
66
67 if (autoUpdate() & UpdateLocals) {
68 updateLocals();
69 }
70
71 if ((autoUpdate() & UpdateLocals) ||
72 ((autoUpdate() & UpdateWatches) && variableCollection()->watches()->childCount() > 0))
73 {
74 debugSession()->addCommand(VarUpdate, QStringLiteral("--all-values *"), this,
75 &MIVariableController::handleVarUpdate);
76 }
77}
78
79void MIVariableController::handleVarUpdate(const ResultRecord& r)
80{

Callers

nothing calls this directly

Calls 4

variableCollectionFunction · 0.85
reinstallMethod · 0.80
addCommandMethod · 0.60
childCountMethod · 0.45

Tested by

no test coverage detected