debugger: new files for WatchData; move potentially shared code to watchutils.cpp

This commit is contained in:
hjk
2010-04-26 18:54:08 +02:00
parent 400eecf4ef
commit 9a8ac49c2c
11 changed files with 603 additions and 523 deletions

View File

@@ -125,14 +125,15 @@ void GdbEngine::handleStackFramePython(const GdbResponse &response)
GdbMi data = all.findChild("data");
QList<WatchData> list;
WatchHandler *watchHandler = manager()->watchHandler();
foreach (const GdbMi &child, data.children()) {
WatchData dummy;
dummy.iname = child.findChild("iname").data();
dummy.name = _(child.findChild("name").data());
//qDebug() << "CHILD: " << child.toString();
handleChildren(dummy, child, &list);
parseWatchData(watchHandler->expandedINames(), dummy, child, &list);
}
manager()->watchHandler()->insertBulkData(list);
watchHandler->insertBulkData(list);
//for (int i = 0; i != list.size(); ++i)
// qDebug() << "LOCAL: " << list.at(i).toString();