We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 657d13a commit 6979bf7Copy full SHA for 6979bf7
adapter/src/main/kotlin/org/javacs/ktda/jdi/launch/JDILauncher.kt
@@ -67,7 +67,7 @@ class JDILauncher(
67
}
68
69
private fun createAttachConnector(): AttachingConnector = vmManager.attachingConnectors()
70
- .let { it.find { it.name().equals("com.sun.jdi.SocketAttach") } ?: it.firstOrNull() }
+ .let { it.find { it.name() == "com.sun.jdi.SocketAttach" } ?: it.firstOrNull() }
71
?: throw KotlinDAException("Could not find an attaching connector (for a new debuggee VM)")
72
73
private fun createLaunchConnector(): LaunchingConnector = vmManager.launchingConnectors()
0 commit comments