Commit cca8d1cb authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlCppDebugger: improved error message for early breakpoints

Change-Id: I461c0f85e4972af27a929e327877d9ad6ff9dbe3
Reviewed-on: http://codereview.qt.nokia.com/1833

Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent 18eb7296
...@@ -700,7 +700,8 @@ void QmlCppEngine::skipCppBreakpoint() ...@@ -700,7 +700,8 @@ void QmlCppEngine::skipCppBreakpoint()
if (d->m_msg->isHidden()) { if (d->m_msg->isHidden()) {
d->m_msg->setIcon(QMessageBox::Warning); d->m_msg->setIcon(QMessageBox::Warning);
d->m_msg->setWindowTitle(tr("QML/C++ Debugging")); 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->setStandardButtons(QMessageBox::Ok);
d->m_msg->setDefaultButton(QMessageBox::Ok); d->m_msg->setDefaultButton(QMessageBox::Ok);
d->m_msg->setModal(false); d->m_msg->setModal(false);
......
Supports Markdown
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