From 8ad489664d0e39b4ac953281d82b06e616a383fd Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Wed, 11 May 2011 16:57:53 +0200 Subject: [PATCH] debugger: fix deletion of breakpoints --- src/plugins/debugger/debuggerplugin.cpp | 2 -- src/plugins/debugger/gdb/gdbengine.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 7816bbe6511..b05637bae8a 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 cda8e976faf..b889f1b6a5b 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); -- GitLab