forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.7'
Change-Id: Ifb51ca9893549c478e99c9fc3ea6c32d5d5a28a2
This commit is contained in:
@@ -436,6 +436,11 @@ void StartApplicationDialog::run(bool attachRemote)
|
||||
debugger->setServerStartScript(newParameters.serverStartScript); // Note: This requires inferior.
|
||||
|
||||
bool isLocal = !dev || (dev->type() == ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE);
|
||||
if (isLocal) {
|
||||
Environment inferiorEnvironment = Environment::systemEnvironment();
|
||||
k->addToEnvironment(inferiorEnvironment);
|
||||
debugger->setInferiorEnvironment(inferiorEnvironment);
|
||||
}
|
||||
if (!attachRemote)
|
||||
debugger->setStartMode(isLocal ? StartExternal : StartRemoteProcess);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user