summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/script/scriptengine.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-07-07 14:36:17 +0200
committerhjk <qtc-committer@nokia.com>2010-07-07 14:36:40 +0200
commitab0e0b1f97121c3bda86083d6cb59a02bbadbca3 (patch)
treedb3f9ecbf3d802d122b8ef99020aef0c8e1cea3b /src/plugins/debugger/script/scriptengine.cpp
parente15f07cb30182577996c5e62a49107b5807258d1 (diff)
downloadqt-creator-ab0e0b1f97121c3bda86083d6cb59a02bbadbca3.tar.gz
debugger: fix startup of pdbengine
Diffstat (limited to 'src/plugins/debugger/script/scriptengine.cpp')
-rw-r--r--src/plugins/debugger/script/scriptengine.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/debugger/script/scriptengine.cpp b/src/plugins/debugger/script/scriptengine.cpp
index 3a8c872436..33021f018e 100644
--- a/src/plugins/debugger/script/scriptengine.cpp
+++ b/src/plugins/debugger/script/scriptengine.cpp
@@ -34,6 +34,7 @@
#include "breakhandler.h"
#include "debuggerconstants.h"
#include "debuggerdialogs.h"
+#include "debuggerstringutils.h"
#include "moduleshandler.h"
#include "registerhandler.h"
#include "stackhandler.h"
@@ -230,7 +231,7 @@ void ScriptEngine::exitDebugger()
void ScriptEngine::startDebugger()
{
- qDebug() << "STARTING SCRIPT DEBUGGER";
+ showMessage(_("STARTING SCRIPT DEBUGGER"), LogMisc);
QTC_ASSERT(state() == DebuggerNotReady, setState(DebuggerNotReady));
setState(EngineStarting);
setState(AdapterStarting);
@@ -251,7 +252,7 @@ void ScriptEngine::startDebugger()
setState(InferiorStarting);
m_scriptFileName = QFileInfo(startParameters().executable).absoluteFilePath();
- qDebug() << "SCRIPT FILE: " << m_scriptFileName;
+ showMessage(_("SCRIPT FILE: ") + m_scriptFileName);
QFile scriptFile(m_scriptFileName);
if (!scriptFile.open(QIODevice::ReadOnly|QIODevice::Text)) {
showMessage(QString::fromLatin1("Cannot open %1: %2").