https://kotlinlang.org logo
#coroutines
Title
# coroutines
k

kevinherron

03/20/2019, 6:37 PM
anyone else still having issues with breakpoints in
suspend
functions / coroutines not working?
i

Ilmir Usmanov [JB]

03/20/2019, 7:08 PM
Can you, please, file an issue at https://youtrack.jetbrains.com/issues/KT ?
g

ghedeon

03/20/2019, 7:11 PM
I got your back, fam simple smile https://youtrack.jetbrains.com/issue/KT-30474
Already aknowledged and prioritized. There are more similar issues, tho...
i

Ilmir Usmanov [JB]

03/20/2019, 7:22 PM
I know about at least one more: https://youtrack.jetbrains.com/issue/KT-23248 But, if there are multiple similar bugs with different causes, chances are they all are going to be fixed together.
k

kevinherron

03/20/2019, 10:25 PM
i'll have to try and extract a standalone example
s

spierce7

03/21/2019, 1:17 AM
I've seen issues like this as well with Android apps. It helps to do a clean, and set the breakpoint before you run the debug command I've noticed.
I've also seen other weird issues where an exception was being caught by 2 separate try/catch blocks, and it could be fixed by moving the scope of the try / catch block.
2 Views