forked from qt-creator/qt-creator
RemoteLinux: Fix QML-only debugging
Make sure requestRemoteSetup is also set if we're not using the C++ debugger. Change-Id: I08e151be6c69ce8d0ab8a86414a150f883f09ff1 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -111,7 +111,6 @@ DebuggerStartParameters AbstractRemoteLinuxDebugSupport::startParameters(const R
|
|||||||
params.executable = runConfig->localExecutableFilePath();
|
params.executable = runConfig->localExecutableFilePath();
|
||||||
params.debuggerCommand = runConfig->gdbCmd();
|
params.debuggerCommand = runConfig->gdbCmd();
|
||||||
params.remoteChannel = devConf->sshParameters().host + QLatin1String(":-1");
|
params.remoteChannel = devConf->sshParameters().host + QLatin1String(":-1");
|
||||||
params.requestRemoteSetup = true;
|
|
||||||
|
|
||||||
// TODO: This functionality should be inside the debugger.
|
// TODO: This functionality should be inside the debugger.
|
||||||
const ProjectExplorer::Abi &abi = runConfig->target()
|
const ProjectExplorer::Abi &abi = runConfig->target()
|
||||||
@@ -122,6 +121,7 @@ DebuggerStartParameters AbstractRemoteLinuxDebugSupport::startParameters(const R
|
|||||||
} else {
|
} else {
|
||||||
params.startMode = AttachToRemoteServer;
|
params.startMode = AttachToRemoteServer;
|
||||||
}
|
}
|
||||||
|
params.requestRemoteSetup = true;
|
||||||
params.displayName = runConfig->displayName();
|
params.displayName = runConfig->displayName();
|
||||||
|
|
||||||
if (const ProjectExplorer::Project *project = runConfig->target()->project()) {
|
if (const ProjectExplorer::Project *project = runConfig->target()->project()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user