| 246 | }; |
| 247 | |
| 248 | void MIVariable::fetchMoreChildren() |
| 249 | { |
| 250 | int c = childItems.size(); |
| 251 | // FIXME: should not even try this if app is not started. |
| 252 | // Probably need to disable open, or something |
| 253 | if (sessionIsAlive()) { |
| 254 | m_debugSession->addCommand(VarListChildren, |
| 255 | QStringLiteral("--all-values \"%1\" %2 %3") |
| 256 | // fetch from .. to .. |
| 257 | .arg(m_varobj).arg(c).arg(c + s_fetchStep), |
| 258 | new FetchMoreChildrenHandler(this, m_debugSession)); |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | void MIVariable::handleUpdate(const Value& var) |
| 263 | { |