https://kotlinlang.org logo
#android
Title
# android
g

galex

03/18/2019, 11:47 AM
Hello, since the last (?) AS upgrade I can’t put a breakpoint on a line with an if condition. I am the only one having this issue?
l

louiscad

03/18/2019, 12:36 PM
last? Which version? Only in Kotlin?
g

ghedeon

03/18/2019, 1:06 PM
Just a guess but it might be related to coroutines, not
if
itself.
launch
is known to be buggy with debugger.
It just doesn't stop in coroutine: https://youtrack.jetbrains.com/issue/KT-30474
g

galex

03/18/2019, 5:11 PM
It wasn’t in a coroutine in my case. I guess I’ll open a bug somewhere, not sure if its to JetBrains or Google
n

Nate

03/19/2019, 10:56 PM
In preferences, under build, execution, deployment > Debugger > disable “Force Classic VM” is what solved this for me.
g

galex

03/22/2019, 5:42 AM
Looks like it helps, thank you @Nate!
👍 1