https://kotlinlang.org logo
f

Fail

07/26/2019, 10:43 AM
Hi friends! Why breakpoints not working in inline functions? function "subscribe" worked but not stopped. In first picture breakpoint not worked. At next picture not worked too
t

thana

07/26/2019, 11:07 AM
probably because inline functions are inlined hence the point in code you set the breakpoint on doesnt exist in the compiled code anymore
o

olonho

07/26/2019, 11:24 AM
which platform is that (JVM/JS/Native)?
k

Kirill Shmakov [JB]

07/26/2019, 11:24 AM
What is the version of Kotlin MPP plugin your are using (which is mentioned in build.gradle[.kts])? I would recommend upgrade to our freshest EAP (1.3.50-eap-5) first just to make sure this is not something already fixed.
f

Fail

07/26/2019, 1:25 PM
Its multiplatform IOS/Android. What a EAP? Multiplatform version?
Copy code
id 'kotlin-multiplatform' version '1.3.41'
o

olonho

07/27/2019, 11:26 AM
What platform you’re exactly debugging on?
k

Kirill Shmakov [JB]

07/29/2019, 9:01 AM
Yes, multiplatform: just put it as
Copy code
id 'kotlin-multiplatform' version '1.3.50-eap-5'
8 Views