Debugger: Remove a soft-assert from qmlengine

Change-Id: I8c9dc2e8691f3ae3c7bed7ffface8f229ce89203
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-07-07 07:39:04 +02:00
parent d48ac14fba
commit 0898cde602

View File

@@ -1003,7 +1003,10 @@ void QmlEngine::updateWatchData(const QByteArray &iname)
// qDebug() << "UPDATE WATCH DATA" << data.toString();
//showStatusMessage(tr("Stopped."), 5000);
const WatchItem *item = watchHandler()->findItem(iname);
QTC_ASSERT(item, return);
// invalid expressions or out of scope variables
if (!item)
return;
if (item->isInspect()) {
m_inspectorAdapter.agent()->updateWatchData(*item);
} else {