Debugger: Move breakpoint back from corrected location.

Reviewed-by: hjk
Rubber-stamped-by:

Task-number: QTCREATORBUG-3912
This commit is contained in:
Friedemann Kleint
2011-05-10 17:13:33 +02:00
parent 00a0070483
commit 4871f81894

View File

@@ -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())