forked from qt-creator/qt-creator
Debugger: Move breakpoint back from corrected location.
Reviewed-by: hjk Rubber-stamped-by: Task-number: QTCREATORBUG-3912
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user