(CoroutineDebugger) Disable agent for MPP projects

#KT-39412 fixed
This commit is contained in:
Vladimir Ilmov
2020-08-19 12:39:11 +02:00
parent 1e96088cc6
commit 34b55dbeb3
2 changed files with 3 additions and 3 deletions
@@ -57,7 +57,7 @@ class DebuggerConnection(
}
private fun determineCoreVersionMode(kotlinxCoroutinesCore: String): CoroutineDebuggerMode {
val regex = Regex(""".+\Wkotlinx-coroutines-core([\-a-z]+)(\d[\w\.\-]+)?\.jar""")
val regex = Regex(""".+\Wkotlinx-coroutines-core(\-jvm)?-(\d[\w\.\-]+)?\.jar""")
val matchResult = regex.matchEntire(kotlinxCoroutinesCore) ?: return CoroutineDebuggerMode.DISABLED
val versionToCompareTo = DefaultArtifactVersion("1.3.7-255")