| 255 | } |
| 256 | |
| 257 | Variable* Watches::add(const QString& expression) |
| 258 | { |
| 259 | if (!hasStartedSession()) return nullptr; |
| 260 | |
| 261 | Variable* v = currentSession()->variableController()->createVariable( |
| 262 | model(), this, expression); |
| 263 | appendChild(v); |
| 264 | v->attachMaybe(); |
| 265 | |
| 266 | return v; |
| 267 | } |
| 268 | |
| 269 | const Variable* Watches::returnValueVariable() const |
| 270 | { |
no test coverage detected