| 77 | } |
| 78 | |
| 79 | void 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 | |
| 94 | class StackListArgumentsHandler : public MICommandHandler |
| 95 | { |
nothing calls this directly
no test coverage detected