forked from qt-creator/qt-creator
QmlDebugger: Always use ',block' argument
This will allow e.g. the JS Debugger to catch scripts running at startup. Change-Id: I00d339b06f1ed2b716c62bd2d53a32c2b20b1ddc Reviewed-on: http://codereview.qt.nokia.com/377 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
committed by
Christiaan Janssen
parent
5a1f5c6fc8
commit
3485d7f5ca
@@ -202,7 +202,7 @@ RunControl *QmlProjectRunControlFactory::createDebugRunControl(QmlProjectRunConf
|
||||
params.executable = runConfig->observerPath();
|
||||
params.qmlServerAddress = "127.0.0.1";
|
||||
params.qmlServerPort = runConfig->qmlDebugServerPort();
|
||||
params.processArgs = QLatin1String("-qmljsdebugger=port:") + QString::number(runConfig->qmlDebugServerPort());
|
||||
params.processArgs = QString("-qmljsdebugger=port:%1,block").arg(runConfig->qmlDebugServerPort());
|
||||
params.processArgs += QLatin1Char(' ') + runConfig->viewerArguments();
|
||||
params.workingDirectory = runConfig->workingDirectory();
|
||||
params.environment = runConfig->environment();
|
||||
|
||||
Reference in New Issue
Block a user