forked from qt-creator/qt-creator
debugger: fix deletion of breakpoints
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user