QML debugging: Adaptations for Maemo.

Reviewed-by: Lasse Holmstedt
This commit is contained in:
Christian Kandeler
2010-09-08 14:25:33 +02:00
parent 29b304e7d0
commit 03492f24da
3 changed files with 7 additions and 2 deletions

View File

@@ -260,6 +260,7 @@ static DebuggerEngineType engineForToolChain(int toolChainType)
case ProjectExplorer::ToolChain::RVCT_ARMV6:
case ProjectExplorer::ToolChain::RVCT_ARMV5_GNUPOC:
case ProjectExplorer::ToolChain::GCCE_GNUPOC:
case ProjectExplorer::ToolChain::GCC_MAEMO:
return GdbEngineType;
case ProjectExplorer::ToolChain::MSVC:

View File

@@ -13,7 +13,7 @@ namespace Internal {
class GdbEngine;
class QmlEngine;
class QmlCppEngine : public DebuggerEngine
class DEBUGGER_EXPORT QmlCppEngine : public DebuggerEngine
{
Q_OBJECT
public:
@@ -67,6 +67,8 @@ public:
QAbstractItemModel *returnModel() const;
QAbstractItemModel *sourceFilesModel() const;
DebuggerEngine *cppEngine() const { return m_cppEngine; }
protected:
virtual void detachDebugger();
virtual void executeStep();

View File

@@ -162,7 +162,9 @@ void QmlEngine::connectionStartupFailed()
{
QMessageBox::critical(0,
tr("Failed to connect to debugger"),
tr("Could not connect to debugger server.") );
tr("Could not connect to QML debugger server at %1:%2.")
.arg(startParameters().qmlServerAddress)
.arg(startParameters().qmlServerPort));
notifyEngineRunFailed();
}