Commit 4871f818 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger: Move breakpoint back from corrected location.

Reviewed-by: hjk
Rubber-stamped-by:

Task-number: QTCREATORBUG-3912
parent 00a00704
......@@ -1095,9 +1095,6 @@ void BreakHandler::setResponse(BreakpointId id,
item.destroyMarker();
// Take over corrected values from response.
if (takeOver) {
if (item.data.type == BreakpointByFileAndLine
&& response.correctedLineNumber > 0)
item.data.lineNumber = response.correctedLineNumber;
if ((item.data.type == BreakpointByFileAndLine
|| item.data.type == BreakpointByFunction)
&& !response.module.isEmpty())
......
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