fix: shmem settings were ignored even if transport was socket

This commit is contained in:
Eugene Zhuravlev
2005-02-22 17:34:12 +03:00
parent fcb521bcda
commit 283e06378a
@@ -51,7 +51,7 @@ public class RemoteConfiguration extends ModuleBasedConfiguration {
ConfigurationPerRunnerSettings configurationSettings) {
GenericDebuggerRunnerSettings debuggerSettings = ((GenericDebuggerRunnerSettings)runnerSettings.getData());
debuggerSettings.LOCAL = false;
debuggerSettings.setDebugPort(PORT);
debuggerSettings.setDebugPort(USE_SOCKET_TRANSPORT ? PORT : SHMEM_ADDRESS);
debuggerSettings.setTransport(USE_SOCKET_TRANSPORT ? DebuggerSettings.SOCKET_TRANSPORT : DebuggerSettings.SHMEM_TRANSPORT);
return new RemoteStateState(getProject(), createRemoteConnection(), runnerSettings, configurationSettings);
}