Hello, can anybody point me to a guide for debuggi...
# coroutines
d
Hello, can anybody point me to a guide for debugging hanging coroutines setup? I looked at a thread dump, but it only shows a bunch of parked coroutines. I would like to get a graph of suspended continuations or something.
l
Hello, in IntelliJ IDEA, and in Android Studio too now, there's a coroutines tab in the debugger that should do what you want. I won't help if you have coroutines that are garbage collected because the root job is not in a strong reference directly or indirectly (best fix is to use a built-in scope, or keep the scope in a property/field).