debugger: fix deletion of breakpoints

This commit is contained in:
hjk
2011-05-11 16:57:53 +02:00
parent bf1f5c2b02
commit 8ad489664d
2 changed files with 1 additions and 3 deletions

View File

@@ -1757,7 +1757,6 @@ void DebuggerPluginPrivate::toggleBreakpointByFileAndLine(const QString &fileNam
data.lineNumber = lineNumber; data.lineNumber = lineNumber;
handler->appendBreakpoint(data); handler->appendBreakpoint(data);
} }
synchronizeBreakpoints();
} }
void DebuggerPluginPrivate::toggleBreakpointByAddress(quint64 address) void DebuggerPluginPrivate::toggleBreakpointByAddress(quint64 address)
@@ -1772,7 +1771,6 @@ void DebuggerPluginPrivate::toggleBreakpointByAddress(quint64 address)
data.address = address; data.address = address;
handler->appendBreakpoint(data); handler->appendBreakpoint(data);
} }
synchronizeBreakpoints();
} }
void DebuggerPluginPrivate::requestMark(ITextEditor *editor, int lineNumber) void DebuggerPluginPrivate::requestMark(ITextEditor *editor, int lineNumber)

View File

@@ -2613,7 +2613,7 @@ void GdbEngine::extractDataFromInfoBreak(const QString &output, BreakpointId id)
QRegExp re(_("MULTIPLE.*(0x[0-9a-f]+) in (.*)\\s+at (.*):([\\d]+)([^\\d]|$)")); QRegExp re(_("MULTIPLE.*(0x[0-9a-f]+) in (.*)\\s+at (.*):([\\d]+)([^\\d]|$)"));
re.setMinimal(true); re.setMinimal(true);
BreakpointResponse response; BreakpointResponse response = breakHandler()->response(id);
response.fileName = _("<MULTIPLE>"); response.fileName = _("<MULTIPLE>");
QString requestedFileName = breakHandler()->fileName(id); QString requestedFileName = breakHandler()->fileName(id);