diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp index 1758f0f1447e21491a4cff7165728bb421532700..3e1d2f97e8d418b35e98f6780d971098bd0faf6a 100644 --- a/src/plugins/debugger/breakhandler.cpp +++ b/src/plugins/debugger/breakhandler.cpp @@ -545,34 +545,6 @@ void BreakHandler::loadBreakpoints() //qDebug() << "LOADED BREAKPOINTS" << this << list.size(); } -void BreakHandler::resetBreakpoints() -{ - for (int index = size(); --index >= 0;) { - BreakpointData *data = at(index); - data->pending = true; - data->bpMultiple = false; - data->bpEnabled = true; - data->bpNumber.clear(); - data->bpFuncName.clear(); - data->bpFileName.clear(); - data->bpLineNumber.clear(); - data->bpCorrectedLineNumber.clear(); - data->bpCondition.clear(); - data->bpIgnoreCount.clear(); - data->bpThreadSpec.clear(); - data->bpAddress.clear(); - // Keep marker data if it was primary. - if (data->markerFileName() != data->fileName) - data->setMarkerFileName(QString()); - if (data->markerLineNumber() != data->lineNumber.toInt()) - data->setMarkerLineNumber(0); - } - m_enabled.clear(); - m_disabled.clear(); - m_removed.clear(); - m_inserted.clear(); -} - void BreakHandler::updateMarkers() { for (int index = 0; index != size(); ++index) @@ -981,7 +953,6 @@ void BreakHandler::saveSessionData() { QTC_ASSERT(m_engine->isSessionEngine(), return); saveBreakpoints(); - updateMarkers(); } void BreakHandler::loadSessionData() diff --git a/src/plugins/debugger/breakhandler.h b/src/plugins/debugger/breakhandler.h index bcce8385ccc0375390eb2629205ad4acb9435357..4e856cfef1025a127ac8ffbab98e181f38b3e611 100644 --- a/src/plugins/debugger/breakhandler.h +++ b/src/plugins/debugger/breakhandler.h @@ -110,7 +110,6 @@ private: void markerUpdated(BreakpointMarker *, int lineNumber); void loadBreakpoints(); void saveBreakpoints(); - void resetBreakpoints(); void removeBreakpointHelper(int index); const QIcon m_breakpointIcon; diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 2b5eac05384363f0b98621ae260ce44e346e5610..16483b8dfc941cf3daf17e5e1e9515788bd1d49c 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -2614,7 +2614,6 @@ void DebuggerPlugin::createNewDock(QWidget *widget) void DebuggerPlugin::runControlStarted(DebuggerRunControl *runControl) { - qDebug() << "RUNCONTROL STARTED: " << runControl; d->connectEngine(runControl->engine()); } @@ -2622,7 +2621,6 @@ void DebuggerPlugin::runControlFinished(DebuggerRunControl *runControl) { Q_UNUSED(runControl); d->disconnectEngine(); - qDebug() << "RUNCONTROL FINISHED: " << runControl; } DebuggerEngine *DebuggerPlugin::sessionTemplate()