Commit a5543b89 authored by Aurindam Jana's avatar Aurindam Jana
Browse files

QmlV8DebuggerClient: Show exception info in console.



Exception Information is printed in QML Script Console if
breakpoint of type "Break when JavaScript exception is thrown"
is enabled.

Change-Id: I9bc5839ba7b7019682e03cc5d71ae6e44e23f63a
Reviewed-by: default avatarKai Koehne <kai.koehne@nokia.com>
parent 0112be96
......@@ -1567,6 +1567,10 @@ void QmlV8DebuggerClient::highlightExceptionCode(int lineNumber,
selections.append(sel);
ed->setExtraSelections(TextEditor::BaseTextEditorWidget::DebuggerExceptionSelection, selections);
QString message = QString(_("%1: %2: %3")).arg(filePath).arg(lineNumber)
.arg(errorMessage);
d->engine->showMessage(message, ScriptConsoleOutput);
}
}
}
......
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