Hello, since the last (?) AS upgrade I can’t put a...
# android
g
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
last? Which version? Only in Kotlin?
g
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
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
In preferences, under build, execution, deployment > Debugger > disable “Force Classic VM” is what solved this for me.
g
Looks like it helps, thank you @Nate!
👍 1