QmlDebugger: Edit breakpoints

Remove and add breakpoint when a breakpoint is edited.

Change-Id: Idb231c0e9d44fe295007b299660fcbe3a980a252
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Aurindam Jana
2012-06-06 14:10:07 +02:00
parent eb4f0a52b7
commit 88dcefe0e1

View File

@@ -1109,8 +1109,9 @@ void QmlV8DebuggerClient::changeBreakpoint(const BreakpointModelId &id)
} else {
//V8 supports only minimalistic changes in breakpoint
//Remove the breakpoint and add again
removeBreakpoint(id);
d->engine->insertBreakpoint(id);
handler->notifyBreakpointChangeOk(id);
handler->removeBreakpoint(id);
handler->appendBreakpoint(params);
}
}