debugger: don't duplicated "full name" information in break response

Less information to keep in sync.

Change-Id: Icd862bbf8965eefd8ea3ad17b6f574b1f85bb8d2
Reviewed-on: http://codereview.qt.nokia.com/1069
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
This commit is contained in:
hjk
2011-07-04 13:37:01 +02:00
committed by hjk
parent cfcb07bb0c
commit 885df811c4
5 changed files with 14 additions and 14 deletions

View File

@@ -1269,10 +1269,10 @@ const BreakpointResponse &BreakHandler::response(BreakpointModelId id) const
{
static BreakpointResponse dummy;
ConstIterator it = m_storage.find(id);
BREAK_ASSERT(it != m_storage.end(),
qDebug() << "NO RESPONSE FOR " << id; return dummy);
if (it == m_storage.end())
if (it == m_storage.end()) {
qDebug() << "NO RESPONSE FOR " << id;
return dummy;
}
return it->response;
}