Commit e420d8b6 authored by Tim Jenssen's avatar Tim Jenssen

fix msvc2013 build

Change-Id: I9b21102285751d0bc6952c949d65ed57edb64bcf
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent 66c0bf54
......@@ -2660,8 +2660,10 @@ void CdbEngine::attemptBreakpointSynchronization()
qPrintable(parameters.toString()));
if (parameters.enabled != bp.response().enabled) {
// Change enabled/disabled breakpoints without triggering update.
runCommand({(parameters.enabled ? "be " : "bd ")
+ QString::number(breakPointIdToCdbId(id)), NoFlags});
if (parameters.enabled)
runCommand({"be " + QString::number(breakPointIdToCdbId(id)), NoFlags});
else
runCommand({"bd " + QString::number(breakPointIdToCdbId(id)), NoFlags});
response.pending = false;
response.enabled = parameters.enabled;
bp.setResponse(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