Commit 0112be96 authored by Aurindam Jana's avatar Aurindam Jana
Browse files

QmlV8DebuggerClient: Edit variables in Locals Window.

Change-Id: Id0c368b1f39fdffdcb0f46a4d74c364e021bb332
Reviewed-by: default avatarKai Koehne <>
parent e8d86660
......@@ -986,9 +986,15 @@ void QmlV8DebuggerClient::synchronizeBreakpoints()
void QmlV8DebuggerClient::assignValueInDebugger(const QByteArray /*expr*/, const quint64 &/*id*/,
const QString &/*property*/, const QString &/*value*/)
const QString &property, const QString &value)
QTC_CHECK(d->state == QmlV8DebuggerClient::WaitingForRequestState);
StackHandler *stackHandler = d->engine->stackHandler();
QString expression = QString(_("%1 = %2;")).arg(property).arg(value);
if (stackHandler->isContentsValid()) {
d->state = QmlV8DebuggerClient::BacktraceRequestedState;
d->evaluate(expression, false, false, stackHandler->currentIndex());
void QmlV8DebuggerClient::updateWatchData(const WatchData &data)
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