Commit f92635e3 authored by hjk's avatar hjk
Browse files

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

parent ecfe010a
......@@ -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 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment