GarouDan
03/09/2019, 12:37 AMorg.jetbrains.kotlin.konan.library.resolver.KonanLibraryResolverKt$TopologicalLibraryOrder$1$1.invoke(KonanLibraryResolver.kt:40)
and I would like to inspect the code with breakpoints.
Does someone knows how can I debug my konan build in IntelliJ? Where I’m using something like ./gradlew build
for now and all of my build scripts are .gradle.kts
onesgildor
03/09/2019, 3:19 AMgildor
03/09/2019, 3:20 AMolonho
03/09/2019, 10:03 AMGarouDan
03/09/2019, 12:43 PMorg.jetbrains.kotlin.konan.library.resolver.KonanLibraryResolverKt
class yet.
I’ve found the implementation of this class here:
<https://github.com/JetBrains/kotlin-native/blob/master/extracted/konan.serializer/src/org/jetbrains/kotlin/konan/library/resolver/KonanLibraryResolver.kt#L11>
But I don’t know which library or jar should I include in order to be able to debug there. (And if I know the correct jar, should I include it as a global library on IntelliJ?)
Is it something inside of here ~/.konan/kotlin-native-macos-1.2-eap-8089
?GarouDan
03/09/2019, 12:55 PM~/.konan/kotlin-native-macos-1.1.2/konan/lib/konan.serializer.jar
, but now I don’t know how can I get the sources, so I’ll be able to debug.