https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
s

spierce7

05/01/2020, 8:25 PM
Has anyone seen this bug with the multiplatform plugin? We’re seeing it in AndroidStudio and IntelliJ Ultimate. We can’t debug our code. Every time we set a breakpoint we’re getting an error on the breakpoint saying “This Breakpoint Does not Belong to Any Class”.
s

Sean Keane

05/01/2020, 8:26 PM
Does the debug work in the platform classes?
s

spierce7

05/01/2020, 8:26 PM
yes
We haven’t found a workaround
s

Sean Keane

05/01/2020, 8:28 PM
Do the breakpoints work within Unit tests?
s

spierce7

05/01/2020, 8:28 PM
common unit tests?
k

Kris Wong

05/01/2020, 8:29 PM
i also can't debug, but for me it just doesn't stop at breakpoints
s

Sean Keane

05/01/2020, 8:31 PM
I can
Yep, on common unit tests Kotlin 1.4-M1 and gradle 6.3
k

Kris Wong

05/01/2020, 8:32 PM
i haven't tried 1.4
i don't think i've even tried that with 1.3.7x
s

Sean Keane

05/01/2020, 8:33 PM
Im using intellij 2020.1
s

spierce7

05/01/2020, 8:41 PM
so debuggin works with Kotlin 1.4?
s

Sean Keane

05/01/2020, 8:49 PM
Let me just check quickly
Yep. Can confirm!
s

spierce7

05/01/2020, 8:53 PM
I’m talking about debugging android apps
not tests
s

Sean Keane

05/01/2020, 8:54 PM
Ah! Ok, so I have a MPP project that generates only a Lib. Apologies. I thought debugging in KMP was the issue. Not the individual platform
s

spierce7

05/01/2020, 9:06 PM
debugging common code on Android
s

Sean Keane

05/02/2020, 10:00 PM
Going to be building my lib tomorrow, ill let you know if I can debug my requests or not. Might help get you closer to resolving it.
Apologies for the delay on this. Using MavenLocal for the Android lib I can debug the code.