forked from qt-creator/qt-creator
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:
@@ -1109,8 +1109,9 @@ void QmlV8DebuggerClient::changeBreakpoint(const BreakpointModelId &id)
|
|||||||
} else {
|
} else {
|
||||||
//V8 supports only minimalistic changes in breakpoint
|
//V8 supports only minimalistic changes in breakpoint
|
||||||
//Remove the breakpoint and add again
|
//Remove the breakpoint and add again
|
||||||
removeBreakpoint(id);
|
handler->notifyBreakpointChangeOk(id);
|
||||||
d->engine->insertBreakpoint(id);
|
handler->removeBreakpoint(id);
|
||||||
|
handler->appendBreakpoint(params);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user