stacktrace-decoroutinator

Small lib for recovering stack trace in exceptions thrown in Kotlin coroutines

View on GitHub

Decoroutinator playground

import kotlinx.coroutines.test.runTest import kotlinx.coroutines.yield suspend fun fun1() { yield() throw Exception("exception at ${System.currentTimeMillis()}") } suspend fun fun2() { fun1() } suspend fun fun3() { fun2() } fun main() { runTest { fun3() } }