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

Sebouh Aguehian

10/13/2020, 8:10 AM
I’m testing the just released Android Studio KMM plugin (0.1.3-release-54-Studio4.0). The announcement article says:
For both the application and tests you can set breakpoints and debug your code on iOS.
I created a new project and added a single iOS test in the shared module. Stopping on breakpoints isn’t working.
Copy code
import kotlin.test.Test
import kotlin.test.assertTrue

class IosTest {
    @Test
    fun test() {
        assertTrue(false) // breakpoint here
    }
}
k

Konstantin Tskhovrebov

10/13/2020, 11:28 AM
Please try this with Android Studio 4.1 🤔
k

Kris Wong

10/13/2020, 12:33 PM
it never worked for me either
says tests but applies to everything
s

Sebouh Aguehian

10/13/2020, 7:19 PM
Yep. It worked with AS 4.1. 🙂
k

Kris Wong

10/13/2020, 7:24 PM
lucky you 🙂
3 Views