Debugger: Mark currently hit breakpoint in breakpoint view

Fixes: QTCREATORBUG-6999
Change-Id: I2b080de0096d1e2bc5b348666adcf4797589fe15
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2021-01-06 11:52:37 +01:00
parent 41982acec3
commit 111cc934fd
5 changed files with 55 additions and 7 deletions

View File

@@ -448,6 +448,7 @@ public:
m_stackHandler.resetLocation();
m_disassemblerAgent.resetLocation();
m_toolTipManager.resetLocation();
m_breakHandler.resetLocation();
}
public:
@@ -1110,6 +1111,8 @@ void DebuggerEngine::gotoLocation(const Location &loc)
d->m_locationMark.reset(new LocationMark(this, loc.fileName(), line));
d->m_locationMark->setToolTip(tr("Current debugger location of %1").arg(displayName()));
}
d->m_breakHandler.setLocation(loc);
}
void DebuggerEngine::gotoCurrentLocation()