forked from qt-creator/qt-creator
Debugger: Start separating different process environments
Debugger and stub run locally, the debugged process not necessarily. Change-Id: Ibf6aec3dcaec60069866ec0765ec2178ca0a26d6 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -1173,7 +1173,9 @@ bool DebuggerPluginPrivate::parseArgument(QStringList::const_iterator &it,
|
||||
rp.displayName = tr("Executable file \"%1\"").arg(rp.executable);
|
||||
rp.startMessage = tr("Debugging file %1.").arg(rp.executable);
|
||||
}
|
||||
rp.environment = Utils::Environment::systemEnvironment();
|
||||
rp.inferiorEnvironment = Utils::Environment::systemEnvironment();
|
||||
rp.stubEnvironment = Utils::Environment::systemEnvironment();
|
||||
rp.debuggerEnvironment = Utils::Environment::systemEnvironment();
|
||||
m_scheduledStarts.append(QPair<DebuggerRunParameters, Kit *>(rp, kit));
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user