debugger: fix breakpoint markers in disassembler view

Task-number: QTCREATORBUG-3667
This commit is contained in:
hjk
2011-02-02 17:28:24 +01:00
parent 7296cd0fa0
commit 7a2fc35629
2 changed files with 2 additions and 2 deletions

View File

@@ -189,7 +189,7 @@ BreakpointId BreakHandler::findBreakpointByAddress(quint64 address) const
{
ConstIterator it = m_storage.constBegin(), et = m_storage.constEnd();
for ( ; it != et; ++it)
if (it->data.address == address)
if (it->data.address == address || it->response.address == address)
return it.key();
return BreakpointId();
}