Commit 0898cde6 authored by Christian Stenger's avatar Christian Stenger

Debugger: Remove a soft-assert from qmlengine

Change-Id: I8c9dc2e8691f3ae3c7bed7ffface8f229ce89203
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent d48ac14f
......@@ -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 {
......
Markdown is supported
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