DAP: Move to a unified way to handle breakpoints

Rely on SetBreakpoints response instead of breakpoint event.

Change-Id: Iff052a13c442fb1fcd945cf1a80f1354c43c15c5
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Artem Sokolovskii
2023-10-17 16:08:52 +02:00
parent b98be3d5a0
commit 3bf61cc36c
11 changed files with 116 additions and 118 deletions

View File

@@ -1241,7 +1241,7 @@ static bool isAllowedTransition(BreakpointState from, BreakpointState to)
void BreakpointItem::gotoState(BreakpointState target, BreakpointState assumedCurrent)
{
QTC_ASSERT(m_state == assumedCurrent, qDebug() << m_state);
QTC_ASSERT(m_state == assumedCurrent, qDebug() << target << m_state);
setState(target);
}