forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user