Commit 66c51cd3 authored by hjk's avatar hjk Committed by David Schulz

Debugger: Set ignore count on breakpoint creation

This avoids a problem when setting the ignore count on a pending
breakpoint.

Task-number: QTCREATORBUG-8809
Change-Id: I8cdeb9c525de33336a21c739c6dc99f824f6fe7a
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent 7266f528
......@@ -3167,6 +3167,9 @@ void GdbEngine::insertBreakpoint(BreakpointModelId id)
if (handler->isOneShot(id))
cmd += "-t ";
if (int ignoreCount = handler->ignoreCount(id))
cmd += "-i " + QByteArray::number(ignoreCount) + ' ';
QByteArray condition = handler->condition(id);
if (!condition.isEmpty())
cmd += " -c \"" + condition + "\" ";
......
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