debugger: add a soft assert to catch cases where broken inames are reported

This commit is contained in:
hjk
2009-10-28 15:39:07 +01:00
parent ecfe010a53
commit f92635e34a

View File

@@ -1135,6 +1135,7 @@ void WatchHandler::insertData(const WatchData &data)
data1.setValue(QLatin1String("<unavailable synchroneous data>"));
data1.setHasChildren(false);
WatchModel *model = modelForIName(data.iname);
QTC_ASSERT(model, return);
model->insertData(data1);
}
} else {