Debugger[CDB]: Breakpoint pass (ignore) count needs decimal prefix.

Task-number: QTCREATORBUG-5654

Change-Id: Ia69c582c342b5e00b5d267320f85efeb49b449f2
Reviewed-on: http://codereview.qt.nokia.com/2379
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Friedemann Kleint
2011-07-29 08:56:25 +02:00
parent a687ead840
commit a65983219a

View File

@@ -186,7 +186,7 @@ QByteArray cdbAddBreakpointCommand(const BreakpointParameters &bpIn,
break; break;
} }
if (bp.ignoreCount) if (bp.ignoreCount)
str << ' ' << (bp.ignoreCount + 1); str << " 0n" << (bp.ignoreCount + 1);
// Condition currently unsupported. // Condition currently unsupported.
if (!bp.command.isEmpty()) if (!bp.command.isEmpty())
str << " \"" << bp.command << '"'; str << " \"" << bp.command << '"';