Skip to content

Commit

Permalink
fix msvc2013 build
Browse files Browse the repository at this point in the history
Change-Id: I9b21102285751d0bc6952c949d65ed57edb64bcf
Reviewed-by: hjk <[email protected]>
  • Loading branch information
Tim Jenssen committed Jun 22, 2016
1 parent 66c0bf5 commit e420d8b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/plugins/debugger/cdb/cdbengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e420d8b

Please sign in to comment.