diff options
author | hjk <qtc-committer@nokia.com> | 2010-07-23 16:05:56 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-07-23 16:09:05 +0200 |
commit | 3cee7dad0a90ff461a86b033c2f87a8f9ff28d7d (patch) | |
tree | 0eb7506811125f07ec943c161f007e9b0a9e9b2b /src/plugins/debugger/script | |
parent | 97775d9cf9575e850fd490652ac7ef21215c8e28 (diff) | |
download | qt-creator-3cee7dad0a90ff461a86b033c2f87a8f9ff28d7d.tar.gz |
debugger: make parts of python debugger work again with the new states
Diffstat (limited to 'src/plugins/debugger/script')
-rw-r--r-- | src/plugins/debugger/script/scriptengine.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/debugger/script/scriptengine.cpp b/src/plugins/debugger/script/scriptengine.cpp index 54f3090464..6301a8302d 100644 --- a/src/plugins/debugger/script/scriptengine.cpp +++ b/src/plugins/debugger/script/scriptengine.cpp @@ -327,7 +327,8 @@ void ScriptEngine::importExtensions() "Make sure that the bindings have been built, " "and that this executable and the plugins are " "using compatible Qt libraries.", - qPrintable(failExtensions.join(QLatin1String(", "))), qPrintable(dir.absolutePath())); + qPrintable(failExtensions.join(QLatin1String(", "))), + qPrintable(dir.absolutePath())); } } return; // failExtensions.isEmpty(); @@ -336,12 +337,12 @@ void ScriptEngine::importExtensions() void ScriptEngine::runEngine() { QTC_ASSERT(state() == EngineRunRequested, qDebug() << state()); - SDEBUG("ScriptEngine::runEngine()"); notifyEngineRunAndInferiorRunOk(); showStatusMessage(tr("Running requested..."), 5000); showMessage(QLatin1String("Running: ") + m_scriptFileName, LogMisc); importExtensions(); - const QScriptValue result = m_scriptEngine->evaluate(m_scriptContents, m_scriptFileName); + const QScriptValue result = + m_scriptEngine->evaluate(m_scriptContents, m_scriptFileName); QString msg; if (m_scriptEngine->hasUncaughtException()) { msg = _("An exception occurred during execution at line: %1\n%2\n") |