aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/runcontrol.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-08-12 18:27:49 +0200
committerhjk <hjk@qt.io>2019-08-20 10:56:06 +0000
commitff277923d9484f91b6a27eb30ab1398589948313 (patch)
tree15348ff6edc3c8b124aace624ade76e97414a6cb /src/plugins/projectexplorer/runcontrol.h
parent583cf69391fc11d868d59368ce178704b1827b12 (diff)
ProjectExplorer: Add a facility to dump supported run worker setups
Essentially walking the RunModes x RunConfigs x Devices cubes. Information is just the factory pointer, or null, some name would be nicer, but for now it turned out to be sufficient. Change-Id: Ifdf92b2353cb5c0346ee4566beb7d78a00645aed Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/runcontrol.h')
-rw-r--r--src/plugins/projectexplorer/runcontrol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/runcontrol.h b/src/plugins/projectexplorer/runcontrol.h
index 09abfac353..1d8ead5fa7 100644
--- a/src/plugins/projectexplorer/runcontrol.h
+++ b/src/plugins/projectexplorer/runcontrol.h
@@ -160,6 +160,9 @@ public:
return [](RunControl *runControl) { return new Worker(runControl); };
}
+ // For debugging only.
+ static void dumpAll();
+
private:
WorkerCreator m_producer;
QList<Core::Id> m_supportedRunModes;