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

Method update

plugins/lldb/controllers/variablecontroller.cpp:34–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void VariableController::update()
35{
36 qCDebug(DEBUGGERLLDB) << "autoUpdate =" << autoUpdate();
37 if (autoUpdate() & UpdateWatches) {
38 variableCollection()->watches()->reinstall();
39 }
40
41 if (autoUpdate() & UpdateLocals) {
42 updateLocals();
43 }
44
45 if ((autoUpdate() & UpdateLocals) ||
46 ((autoUpdate() & UpdateWatches) && variableCollection()->watches()->childCount() > 0))
47 {
48 debugSession()->updateAllVariables();
49 }
50}
51
52#include "moc_variablecontroller.cpp"

Callers

nothing calls this directly

Calls 4

variableCollectionFunction · 0.85
reinstallMethod · 0.80
updateAllVariablesMethod · 0.80
childCountMethod · 0.45

Tested by

no test coverage detected