Commit 6902ee26 authored by Kai Koehne's avatar Kai Koehne Committed by hjk

Debugger: Fix warnings on qt creator startup

Predefined entries like "Locals" do not have a value.

Remove asserts on every startup:

SOFT ASSERT: "!result.isEmpty()" in file
/home/kkoehne/dev/creator-2.8/src/plugins/debugger/watchhandler.cpp,
line 956

Change-Id: I16b97c61256c6083440b9fa228113be9d0867e5d
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent a7bcfaf0
......@@ -953,7 +953,6 @@ QString WatchModel::displayValue(const WatchData &data) const
result += QString::fromLatin1("@0x" + QByteArray::number(data.address, 16));
// if (data.origaddr)
// result += QString::fromLatin1(" (0x" + QByteArray::number(data.origaddr, 16) + ')');
QTC_CHECK(!result.isEmpty());
return result;
}
......
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