is there any way to find the origin of a JobCancel...
# coroutines
n
is there any way to find the origin of a JobCancellationException on Android ? There is no stacktrace displayed in logcat 😢 the debug probes still doesn't look available
g
have you enabled debug mode for coroutines (debug probe is different thing, it’s more like thread dump)?
n
unfortunatelly I'm still unsure how to enable that in Android
ah yes the good old
Copy code
System.setProperty("kotlinx.coroutines.debug", "on")
in the application class
thanks @gildor!
g
Also there are constants for property name and value
n
yeah, DEBUG_PROPERTY_NAME
it's only temporary anyway
(twice, I had forgotten since the first time)