do not check for available port on each typing in all configurations (IDEA-75097);

problem still exist with tomcat configuration
This commit is contained in:
anna
2011-10-07 14:11:21 +02:00
parent 9188075b91
commit d8e04fe776
2 changed files with 1 additions and 7 deletions
@@ -166,9 +166,9 @@ public class GenericDebuggerParametersRunnerConfigurable extends SettingsEditor<
public void applyEditorTo(GenericDebuggerRunnerSettings runnerSettings) throws ConfigurationException {
runnerSettings.LOCAL = myIsLocal;
runnerSettings.setTransport(getTransport());
checkPort();
runnerSettings.setDebugPort(getPort());
runnerSettings.setTransport(getTransport());
}
}
@@ -31,12 +31,6 @@ public class GenericDebuggerRunnerSettings implements JDOMExternalizable, Debugg
public boolean LOCAL = true;
public GenericDebuggerRunnerSettings() {
try {
DEBUG_PORT = DebuggerUtils.getInstance().findAvailableDebugAddress(DebuggerSettings.SOCKET_TRANSPORT == TRANSPORT);
}
catch (ExecutionException e) {
DEBUG_PORT = "";
}
}
public String getDebugPort() {