diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 7816bbe6511b04d580e65474c2ec408d45d97159..b05637bae8a16d49bd2793535a24079c077dd604 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -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) diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index cda8e976faf04df9faa8a4806b49431451cc06bd..b889f1b6a5be0f360a4aabf7832816483aeba6fd 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -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);