diff options
author | hjk <[email protected]> | 2019-08-30 14:22:01 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2019-08-30 12:25:53 +0000 |
commit | 7cd3bda4c07b66d96e1209b8fdb801d8896d2705 (patch) | |
tree | 7dac0d47f4589577276e17a8527cb6cf711c2ec2 /src/plugins/ios/iosrunner.cpp | |
parent | 5f494e2e0ca4c3f39314c3634821dee35f85e1e3 (diff) |
iOS: Fix/add RunWorker ids
Easier to debug worker setup errors.
Change-Id: I1d050c715488db2bcce323f4efcd9808d1770eaa
Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/ios/iosrunner.cpp')
-rw-r--r-- | src/plugins/ios/iosrunner.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/ios/iosrunner.cpp b/src/plugins/ios/iosrunner.cpp index 7dde31be669..3e7dda16973 100644 --- a/src/plugins/ios/iosrunner.cpp +++ b/src/plugins/ios/iosrunner.cpp @@ -94,6 +94,7 @@ static void stopRunningRunControl(RunControl *runControl) IosRunner::IosRunner(RunControl *runControl) : RunWorker(runControl) { + setId("IosRunner"); stopRunningRunControl(runControl); auto runConfig = qobject_cast<IosRunConfiguration *>(runControl->runConfiguration()); m_bundleDir = runConfig->bundleDirectory().toString(); @@ -353,6 +354,7 @@ Utils::Port IosRunner::qmlServerPort() const IosRunSupport::IosRunSupport(RunControl *runControl) : IosRunner(runControl) { + setId("IosRunSuppoer"); runControl->setIcon(Icons::RUN_SMALL_TOOLBAR); QString displayName = QString("Run on %1").arg(device().isNull() ? QString() : device()->displayName()); runControl->setDisplayName(displayName); @@ -381,7 +383,7 @@ void IosRunSupport::stop() IosQmlProfilerSupport::IosQmlProfilerSupport(RunControl *runControl) : RunWorker(runControl) { - setId("IosAnalyzeSupport"); + setId("IosQmlProfilerSupport"); auto iosRunConfig = qobject_cast<IosRunConfiguration *>(runControl->runConfiguration()); Runnable runnable; @@ -424,6 +426,8 @@ void IosQmlProfilerSupport::start() IosDebugSupport::IosDebugSupport(RunControl *runControl) : Debugger::DebuggerRunTool(runControl) { + setId("IosDebugSupport"); + m_runner = new IosRunner(runControl); m_runner->setCppDebugging(isCppDebugging()); m_runner->setQmlDebugging(isQmlDebugging() ? QmlDebug::QmlDebuggerServices : QmlDebug::NoQmlDebugServices); |