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

Method handleVarUpdate

plugins/debuggercommon/mivariablecontroller.cpp:79–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void MIVariableController::handleVarUpdate(const ResultRecord& r)
80{
81 const Value& changed = r[QStringLiteral("changelist")];
82 for (int i = 0; i < changed.size(); ++i)
83 {
84 const Value& var = changed[i];
85 MIVariable* v = debugSession()->findVariableByVarobjName(var[QStringLiteral("name")].literal());
86 // v can be NULL here if we've already removed locals after step,
87 // but the corresponding -var-delete command is still in the queue.
88 if (v) {
89 v->handleUpdate(var);
90 }
91 }
92}
93
94class StackListArgumentsHandler : public MICommandHandler
95{

Callers

nothing calls this directly

Calls 4

literalMethod · 0.80
handleUpdateMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected