You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Test
fun foo() = runBlocking {
DebugProbes.dumpCoroutines()
}
will print these lines:
(Coroutine creation stacktrace)
at kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsJvmKt.createCoroutineUnintercepted(IntrinsicsJvm.kt:116)
at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:26)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at definitely.not.kotlinx.coroutines.SanitizedProbesTest.foo(SanitizedProbesTest.kt:25)
Probably it is worth to make sanitizing heuristic aware of such methods and provide at least one frame with actual source, e.g.
(Coroutine creation stacktrace)
at kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsJvmKt.createCoroutineUnintercepted(IntrinsicsJvm.kt:116)
at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:36)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at definitely.not.kotlinx.coroutines.SanitizedProbesTest.foo(SanitizedProbesTest.kt:25)
The text was updated successfully, but these errors were encountered:
The following test
will print these lines:
Probably it is worth to make sanitizing heuristic aware of such methods and provide at least one frame with actual source, e.g.
The text was updated successfully, but these errors were encountered: