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

Method handleRawUpdate

plugins/lldb/controllers/variable.cpp:77–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77const Value* LldbVariable::handleRawUpdate(const ResultRecord& r)
78{
79 qCDebug(DEBUGGERLLDB) << "handleRawUpdate for variable" << varobj();
80 const auto& changelist = r[rawUpdateField()];
81 Q_ASSERT_X(changelist.size() <= 1, "LldbVariable::handleRawUpdate",
82 "should only be used with one variable VarUpdate");
83 if (changelist.empty()) {
84 return nullptr;
85 }
86
87 const auto& changes = changelist[0];
88 handleUpdate(changes);
89 return &changes;
90}
91
92std::function<void(const ResultRecord&)> LldbVariable::handlerOfSetFormatCommand()
93{

Callers 1

Calls 3

rawUpdateFieldFunction · 0.85
emptyMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected