Debugger: Silence breakpoint state transition warning

... for "alien" breakpoint that legitimately jump from New to Inserted.

Change-Id: Idb8b540a119f6dbd04d86b8ce3f15c2599d4b60c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2018-11-06 13:22:25 +01:00
parent 0fabde31ab
commit 8feb11e102

View File

@@ -1408,8 +1408,9 @@ void BreakHandler::handleAlienBreakpoint(const QString &responseId, const Breakp
} else {
bp = new BreakpointItem(nullptr);
bp->m_responseId = responseId;
bp->setState(BreakpointInserted);
bp->setParameters(params);
bp->m_parameters = params;
bp->m_state = BreakpointInserted;
bp->updateMarker();
rootItem()->appendChild(bp);
// This has no global breakpoint, so there's nothing to update here.
}