Debugger: Allow spaces in arguments with LLDB

Change-Id: Iebc6f7975e9a306805911ed18eb4689074abd891
Task-number: QTCREATORBUG-22811
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2019-08-05 16:26:20 +02:00
parent ea901fd4f1
commit 5b33660a57
2 changed files with 3 additions and 15 deletions

View File

@@ -275,7 +275,7 @@ void LldbEngine::setupEngine()
cmd2.arg("nativemixed", isNativeMixedActive());
cmd2.arg("workingdirectory", rp.inferior.workingDirectory);
cmd2.arg("environment", rp.inferior.environment.toStringList());
cmd2.arg("processargs", toHex(rp.inferior.commandLineArguments));
cmd2.arg("processargs", toHex(QtcProcess::splitArgs(rp.inferior.commandLineArguments).join(QChar(0))));
if (terminal()) {
const qint64 attachedPID = terminal()->applicationPid();