Is kotlinx.coroutines debug not supported on Andro...
# coroutines
l
Is kotlinx.coroutines debug not supported on Android? I tried to call
DebugProbes.install()
but got this runtime exception: java.lang.NoClassDefFoundError: Failed resolution of: Ljava/lang/management/ManagementFactory;
v
Android does not support dynamic attach API, so yes, it is not supported.
Debug probes probably can be injected statically by aspectj for android, but I haven’t tried it
l
How could I try? I have some bugs in a project (hence the need for debug), and it would help me a lot to find where where a crashing coroutine was launched.
Not sure what probes you’d need to set up or cut points for aspectj but this is leaps and bounds further along then when I used it 6+ years ago
e