forked from qt-creator/qt-creator
QmlProfiler: Assert for sane configuration in local runner
Change-Id: Idec9531019b1b95bbacf5d5bd5ea68168e28e895 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -83,6 +83,8 @@ LocalQmlProfilerRunner::LocalQmlProfilerRunner(const Configuration &configuratio
|
||||
|
||||
void LocalQmlProfilerRunner::start()
|
||||
{
|
||||
QTC_ASSERT(!m_configuration.socket.isEmpty() || m_configuration.port.isValid(), return);
|
||||
|
||||
StandardRunnable runnable = m_configuration.debuggee;
|
||||
QString arguments = m_configuration.socket.isEmpty() ?
|
||||
QmlDebug::qmlDebugTcpArguments(QmlDebug::QmlProfilerServices,
|
||||
|
Reference in New Issue
Block a user