forked from qt-creator/qt-creator
Debugger: Remove a soft-assert from qmlengine
Change-Id: I8c9dc2e8691f3ae3c7bed7ffface8f229ce89203 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user