I've been looking online, here on Slack etc. I_t ...
# coroutines
s
I've been looking online, here on Slack etc. I_t seems that properly debugging Coroutines on Android Studio is *still not supported*_? Does anyone know when it may become available? (for IntelliJ, debugging coroutines info can be found here: https://www.jetbrains.com/help/idea/debug-kotlin-coroutines.html)
s
Thanks! But i think it's mostly up to Google to enable this and make sure it works well in Android Studio. I wonder if Google has a ticket for this, and if some info is out there for when it may become available...
e
https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-debug/README.md#debug-agent-and-android
Android runtime does not support Instrument API necessary for
kotlinx-coroutines-debug
to function, triggering
java.lang.NoClassDefFoundError: Failed resolution of: Ljava/lang/management/ManagementFactory;
, and it is not possible to use coroutine debugger along with Android emulator.
doesn't seem easily fixable
s
Ooof!! But Google did promise us! 🙂 but that promise has been a while....

https://youtu.be/etLUpHvhNZw?t=505

1