aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/breakhandler.cpp
diff options
context:
space:
mode:
authorArtem Sokolovskii <[email protected]>2023-10-17 16:08:52 +0200
committerArtem Sokolovskii <[email protected]>2023-11-07 14:34:56 +0000
commit3bf61cc36c5626df2d2e536e8066dedeb6160ef0 (patch)
treefb9b5f0d82ea82bd6aff7b10a72dced5e424ca94 /src/plugins/debugger/breakhandler.cpp
parentb98be3d5a046f983f0c0f02ef7a7343047729190 (diff)
DAP: Move to a unified way to handle breakpoints
Rely on SetBreakpoints response instead of breakpoint event. Change-Id: Iff052a13c442fb1fcd945cf1a80f1354c43c15c5 Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/breakhandler.cpp')
-rw-r--r--src/plugins/debugger/breakhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp
index 53696f8e910..74626fbc863 100644
--- a/src/plugins/debugger/breakhandler.cpp
+++ b/src/plugins/debugger/breakhandler.cpp
@@ -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);
}