Commit 03be40dd authored by hjk's avatar hjk

debugger: remove unused code

parent 2473cf30
......@@ -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()
......
......@@ -110,7 +110,6 @@ private:
void markerUpdated(BreakpointMarker *, int lineNumber);
void loadBreakpoints();
void saveBreakpoints();
void resetBreakpoints();
void removeBreakpointHelper(int index);
const QIcon m_breakpointIcon;
......
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment