forked from qt-creator/qt-creator
debugger: new files for WatchData; move potentially shared code to watchutils.cpp
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user