forked from qt-creator/qt-creator
Maemo: Fix QML debugging.
In general, at least. Does not actually stop at breakpoints yet.
This commit is contained in:
@@ -285,6 +285,10 @@ void MaemoDebugSupport::startDebugging()
|
||||
SLOT(handleRemoteErrorOutput(QByteArray)));
|
||||
connect(m_runner, SIGNAL(remoteOutput(QByteArray)), this,
|
||||
SLOT(handleRemoteOutput(QByteArray)));
|
||||
if (m_debuggingType == MaemoRunConfiguration::DebugQmlOnly) {
|
||||
connect(m_runner, SIGNAL(remoteProcessStarted()),
|
||||
SLOT(handleRemoteProcessStarted()));
|
||||
}
|
||||
const QString &remoteExe = m_runner->remoteExecutable();
|
||||
const QString cmdPrefix = MaemoGlobal::remoteCommandPrefix(remoteExe);
|
||||
const QString env = MaemoGlobal::remoteEnvironment(m_userEnvChanges);
|
||||
@@ -350,6 +354,13 @@ void MaemoDebugSupport::handleAdapterSetupDone()
|
||||
m_engine->handleRemoteSetupDone(m_gdbServerPort, m_qmlPort);
|
||||
}
|
||||
|
||||
void MaemoDebugSupport::handleRemoteProcessStarted()
|
||||
{
|
||||
Q_ASSERT(m_debuggingType == MaemoRunConfiguration::DebugQmlOnly);
|
||||
ASSERT_STATE(StartingRemoteProcess);
|
||||
handleAdapterSetupDone();
|
||||
}
|
||||
|
||||
void MaemoDebugSupport::setState(State newState)
|
||||
{
|
||||
if (m_state == newState)
|
||||
|
||||
Reference in New Issue
Block a user