aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Costa <miguel.costa@qt.io>2019-01-25 14:33:09 +0100
committerMiguel Costa <miguel.costa@qt.io>2019-01-28 08:54:38 +0000
commitcde9a20d5a25845bb20ff9fac6a07ca3a09099f3 (patch)
tree43a58e980fa8c8fa7535043bbf12d576f9857e99
parent390aa5dbdd3f06b2a4226aa89946d90b2076f7fa (diff)
Fix QML debug blocked due to spaces in .exe name
To correctly parse the command line used to start debug, will now use quotes around the .exe name. Previously, if the name contained spaces, the parsing would fail, which caused the QML runtime to block forever waiting for a connection from the debug engine. Task-number: QTVSADDINBUG-610 Change-Id: Ic66f5a8d3cc612fab318c73d196803c1fc57a40f Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--src/qtvstools/QML/Debugging/QmlDebugLauncher.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qtvstools/QML/Debugging/QmlDebugLauncher.cs b/src/qtvstools/QML/Debugging/QmlDebugLauncher.cs
index e3a1f3c9..cad958e0 100644
--- a/src/qtvstools/QML/Debugging/QmlDebugLauncher.cs
+++ b/src/qtvstools/QML/Debugging/QmlDebugLauncher.cs
@@ -190,7 +190,7 @@ namespace QtVsTools.Qml.Debug
if (string.IsNullOrEmpty(execArgs))
continue;
- var cmd = execPath + " " + execArgs;
+ var cmd = "\"" + execPath + "\" " + execArgs;
if (!QmlDebugger.CheckCommandLine(execPath, cmd))
continue;