Commit 0f4ccda0 authored by David Schulz's avatar David Schulz
Browse files

Debugger: Fix disabled breakpoints on start up in cdbengine.



Task-number: QTCREATORBUG-9295

Change-Id: Ib9694b2dda9f4a53508fa126f720b8eed1a0200c
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 3723bc12
......@@ -2794,7 +2794,7 @@ void CdbEngine::attemptBreakpointSynchronization()
postCommand(cdbAddBreakpointCommand(parameters, m_sourcePathMappings, id, false), 0);
}
if (!parameters.enabled)
postCommand("bd " + QByteArray::number(id.majorPart()), 0);
postCommand("bd " + QByteArray::number(breakPointIdToCdbId(id)), 0);
handler->notifyBreakpointInsertProceeding(id);
handler->notifyBreakpointInsertOk(id);
m_pendingBreakpointMap.insert(id, response);
......
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