They're moving everything to IntelliJ is the last ...
# kotlin-native
k
They're moving everything to IntelliJ is the last slide I saw.
r
It isn't clear to me if that's just for multiplatform or if everything native is moving to IDEA
s
So they can move everything to the community edition because of the work they are doing to integrate it all into Gradle. What was absent from the slide (curiously) was debugging. I don't think I can debug Kotlin/native / iOS code in IntelliJ can I? Is that planned?
k
Next time I'm near the K/N booth, I'll ask...
s
That would be fantastic. Please do
k
Asked in the Marcin's multiplatform session so you'll have an official answer... Supposedly you just debug in Android Studio....
I have a hard time believing it's that easy though...
s
Android studio doesn't have support for the LLVM debugger (LLDB) that Kotlin/native uses, does it?
k
Nope
Wasn't a great answer 😒
g
AS actually have LLDB support and native debugger licensed by Google (together with other native stuff) but works only for Android NDK
k
I actually went and asked at the K/N booth. For IOS debugging, you use xcode and the debug console to dump variables and you get line breakpoints. There's no way this would work in Android Studio.... Which makes more sense to me. Android has their own debug tools, etc. And in theory, you write unit tests on the shared module and it should work everywhere.
g
Sure, a s I said, native debugger works only with Android
s
Debugging Kotlin in xcode is a terrible experience.
k
In what way compared to debugging a binary shared lib?