Commit 13ea1281 authored by hjk's avatar hjk

Debugger: Adjust error message for Qml Debugger Console

Displaying live contents uses nowadays a feature of Qt 5.7. The previous
display was not using the correct context. For Qt < 5.7, access is now
only possible when the context is clear (e.g. because a breakpoint
was hit). This patch adjusts the error message in the other case.

Task-number: QTCREATORBUG-15831
Change-Id: Ic25a3f6bca05523b16063f3e7daed6817c0002e7
Reviewed-by: default avatarUlf Hermann <>
Reviewed-by: default avatarLeena Miettinen <>
parent 41a24ade
......@@ -1121,8 +1121,8 @@ void QmlEngine::executeDebuggerCommand(const QString &command, DebuggerLanguages
} else if (d->unpausedEvaluate) {
d->evaluate(command, CB(d->handleExecuteDebuggerCommand));
} else {
d->engine->showMessage(_("The application has to be paused in order to evaluate "
"expressions").arg(command), ConsoleOutput);
d->engine->showMessage(_("The application has to be stopped in a breakpoint in order to "
"evaluate expressions").arg(command), ConsoleOutput);
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