Commit 72e65485 authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlProfiler: fixed arguments for qmlobserver when profiling

Reviewed-by: Kai Koehne
parent 4fc3990b
......@@ -150,9 +150,10 @@ void QmlProfilerEngine::finishProcess()
void QmlProfilerEngine::QmlProfilerEnginePrivate::launchperfmonitor()
{
QString arguments = m_params.debuggeeArgs;
arguments += QLatin1String("-qmljsdebugger=port:") + QString::number(m_params.connParams.port)
QString arguments = QLatin1String("-qmljsdebugger=port:") + QString::number(m_params.connParams.port)
+ QLatin1String(",block");
if (!m_params.debuggeeArgs.isEmpty())
arguments += QChar(' ') + m_params.debuggeeArgs;
if (QmlProfilerPlugin::debugOutput)
qWarning("QmlProfiler: Launching %s:%d", qPrintable(m_params.displayName), m_params.connParams.port);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment