forked from qt-creator/qt-creator
debugger: let debugger attach to currently running process
Change-Id: I4aab1aa84a3dc9211d84d59be76005a8e841239e (cherry picked from commit 55e399b524721e3561b6c7faae8aef84bf064565) Reviewed-on: http://codereview.qt.nokia.com/251 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -348,13 +348,14 @@ S60EmulatorRunControl::S60EmulatorRunControl(S60EmulatorRunConfiguration *runCon
|
||||
this, SLOT(slotAppendMessage(QString, Utils::OutputFormat)));
|
||||
connect(&m_applicationLauncher, SIGNAL(processExited(int)),
|
||||
this, SLOT(processExited(int)));
|
||||
connect(&m_applicationLauncher, SIGNAL(bringToForegroundRequested(qint64)),
|
||||
this, SLOT(bringApplicationToForeground(qint64)));
|
||||
connect(&m_applicationLauncher, SIGNAL(bringToForegroundRequested(quint64)),
|
||||
this, SLOT(bringApplicationToForeground(quint64)));
|
||||
}
|
||||
|
||||
void S60EmulatorRunControl::start()
|
||||
{
|
||||
m_applicationLauncher.start(ApplicationLauncher::Gui, m_executable, QString());
|
||||
setApplicationProcessHandle(ProcessHandle(m_applicationLauncher.applicationPID()));
|
||||
emit started();
|
||||
|
||||
QString msg = tr("Starting %1...\n").arg(QDir::toNativeSeparators(m_executable));
|
||||
|
||||
Reference in New Issue
Block a user