diff --git a/src/plugins/debugger/watchutils.cpp b/src/plugins/debugger/watchutils.cpp index 60a1480a887..6d6aa39ddcc 100644 --- a/src/plugins/debugger/watchutils.cpp +++ b/src/plugins/debugger/watchutils.cpp @@ -862,7 +862,7 @@ void parseWatchData(const QSet &expandedINames, bool ok = false; qulonglong addressBase = item.findChild("addrbase").data().toULongLong(&ok, 0); - qulonglong addressStep = item.findChild("addrstep").data().toULongLong(); + qulonglong addressStep = item.findChild("addrstep").data().toULongLong(&ok, 0); // Try not to repeat data too often. WatchData childtemplate;