Commit 8ad48966 authored by hjk's avatar hjk
Browse files

debugger: fix deletion of breakpoints

parent bf1f5c2b
......@@ -1757,7 +1757,6 @@ void DebuggerPluginPrivate::toggleBreakpointByFileAndLine(const QString &fileNam
data.lineNumber = lineNumber;
handler->appendBreakpoint(data);
}
synchronizeBreakpoints();
}
void DebuggerPluginPrivate::toggleBreakpointByAddress(quint64 address)
......@@ -1772,7 +1771,6 @@ void DebuggerPluginPrivate::toggleBreakpointByAddress(quint64 address)
data.address = address;
handler->appendBreakpoint(data);
}
synchronizeBreakpoints();
}
void DebuggerPluginPrivate::requestMark(ITextEditor *editor, int lineNumber)
......
......@@ -2613,7 +2613,7 @@ void GdbEngine::extractDataFromInfoBreak(const QString &output, BreakpointId id)
QRegExp re(_("MULTIPLE.*(0x[0-9a-f]+) in (.*)\\s+at (.*):([\\d]+)([^\\d]|$)"));
re.setMinimal(true);
BreakpointResponse response;
BreakpointResponse response = breakHandler()->response(id);
response.fileName = _("<MULTIPLE>");
QString requestedFileName = breakHandler()->fileName(id);
......
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