mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-183664 Debugger does not start anymore
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
* Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
*/
|
||||
package com.intellij.debugger.engine;
|
||||
|
||||
@@ -472,7 +472,7 @@ public abstract class DebugProcessImpl extends UserDataHolderBase implements Deb
|
||||
}
|
||||
try {
|
||||
String listeningAddress = connector.startListening(myArguments);
|
||||
String port = StringUtil.substringAfter(listeningAddress, ":");
|
||||
String port = StringUtil.substringAfterLast(listeningAddress, ":");
|
||||
if (port != null) {
|
||||
listeningAddress = port;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user