QmlCppDebugger: Set cpp breakpoints right on startup (again)

Previous commit allows to hit cpp breakpoints before the QML engine
is up and running, so there is no need anymore to set breakpoints early
on.

Change-Id: Ia0de490d54057d51c4585c56fa9083de982ba97b
Reviewed-on: http://codereview.qt-project.org/5896
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Kai Koehne
2011-09-29 15:12:43 +02:00
parent 8ab887297c
commit 87713f50c6
2 changed files with 8 additions and 10 deletions

View File

@@ -4804,7 +4804,7 @@ void GdbEngine::handleInferiorPrepared()
QTC_ASSERT(state() == InferiorSetupRequested, qDebug() << state());
// Initial attempt to set breakpoints.
if (sp.startMode != AttachCore && !isSlaveEngine()) {
if (sp.startMode != AttachCore) {
showStatusMessage(tr("Setting breakpoints..."));
showMessage(tr("Setting breakpoints..."));
attemptBreakpointSynchronization();