debugger: remove breakpoint notification indirection through the engine

This commit is contained in:
hjk
2010-11-16 18:20:52 +01:00
parent 4e1452fd59
commit adba4c954c
5 changed files with 22 additions and 52 deletions

View File

@@ -676,6 +676,18 @@ void BreakHandler::notifyBreakpointReleased(BreakpointId id)
layoutChanged();
}
void BreakHandler::notifyBreakpointAdjusted(BreakpointId id,
const BreakpointParameters &data)
{
QTC_ASSERT(state(id) == BreakpointInserted, /**/);
Iterator it = m_storage.find(id);
QTC_ASSERT(it != m_storage.end(), return);
it->data = data;
if (it->needsChange())
setState(id, BreakpointChangeRequested);
}
void BreakHandler::ackCondition(BreakpointId id)
{
Iterator it = m_storage.find(id);