From cca8d1cbfa55127a5b3a055fb75f179d0026db0c Mon Sep 17 00:00:00 2001 From: Christiaan Janssen <christiaan.janssen@nokia.com> Date: Tue, 19 Jul 2011 16:14:36 +0200 Subject: [PATCH] QmlCppDebugger: improved error message for early breakpoints Change-Id: I461c0f85e4972af27a929e327877d9ad6ff9dbe3 Reviewed-on: http://codereview.qt.nokia.com/1833 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> --- src/plugins/debugger/qml/qmlcppengine.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/debugger/qml/qmlcppengine.cpp b/src/plugins/debugger/qml/qmlcppengine.cpp index f3f43cfa68d..96728e98489 100644 --- a/src/plugins/debugger/qml/qmlcppengine.cpp +++ b/src/plugins/debugger/qml/qmlcppengine.cpp @@ -700,7 +700,8 @@ void QmlCppEngine::skipCppBreakpoint() if (d->m_msg->isHidden()) { d->m_msg->setIcon(QMessageBox::Warning); d->m_msg->setWindowTitle(tr("QML/C++ Debugging")); - d->m_msg->setText(tr("Cannot stop execution before QML engine is started. Skipping breakpoint.\nSuggestions: Move the breakpoint after QmlViewer initialization or switch to C++ only debugging")); + d->m_msg->setText(tr("Cannot stop execution before QML engine is started. Skipping breakpoint.\n" + "Suggestions: Move the breakpoint after QmlApplicationViewer instantiation or switch to C++ only debugging.")); d->m_msg->setStandardButtons(QMessageBox::Ok); d->m_msg->setDefaultButton(QMessageBox::Ok); d->m_msg->setModal(false); -- GitLab