Commit a246e432 authored by hjk's avatar hjk
Browse files

Debugger: Make safety check safer

This amends change ad55631c


Change-Id: If0679ee2f3559fd3d1b2ef57e7456a159dd25b3b
Task-number: QTCREATORBUG-16180
Reviewed-by: Christian Stenger's avatarChristian Stenger <>
parent 384d6661
......@@ -2022,7 +2022,8 @@ void DebuggerEngine::updateItem(const QByteArray &iname)
showMessage(QString::fromLatin1("IGNORING REPEATED REQUEST TO EXPAND " + iname));
WatchHandler *handler = watchHandler();
WatchItem *item = handler->findItem(iname);
if (!item->hasChildren()) {
if (item && !item->hasChildren()) {
item->setValue(decodeData({}, "notaccessible"));
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