1 @file:Suppress("unused") 2 3 package kotlinx.coroutines.debug.internal 4 5 import kotlin.coroutines.* 6 7 /* 8 * This class is used by ByteBuddy from kotlinx-coroutines-debug as kotlin.coroutines.jvm.internal.DebugProbesKt replacement. 9 * In theory, it should belong to kotlinx-coroutines-debug, but placing it here significantly simplifies the 10 * Android AS debugger that does on-load DEX transformation 11 */ 12 13 // Stubs which are injected as coroutine probes. Require direct match of signatures probeCoroutineResumednull14internal fun probeCoroutineResumed(frame: Continuation<*>) = DebugProbesImpl.probeCoroutineResumed(frame) 15 16 internal fun probeCoroutineSuspended(frame: Continuation<*>) = DebugProbesImpl.probeCoroutineSuspended(frame) 17 internal fun <T> probeCoroutineCreated(completion: Continuation<T>): Continuation<T> = 18 DebugProbesImpl.probeCoroutineCreated(completion) 19