| 75 | } |
| 76 | |
| 77 | const 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 | |
| 92 | std::function<void(const ResultRecord&)> LldbVariable::handlerOfSetFormatCommand() |
| 93 | { |
no test coverage detected