CoroutineInfo

Class describing coroutine info such as its context, state and stacktrace.

Properties

Link copied to clipboard
Link copied to clipboard

Creation stacktrace of the coroutine. Can be empty if DebugProbes.enableCreationStackTraces is not set.

Link copied to clipboard
val job: Job?

Job associated with a current coroutine or null. May be later used in DebugProbes.printJob.

Link copied to clipboard

Last observed state of the coroutine

Functions

Link copied to clipboard

Last observed stacktrace of the coroutine captured on its suspension or resumption point. It means that for running coroutines resulting stacktrace is inaccurate and reflects stacktrace of the resumption point, not the actual current stacktrace.

Link copied to clipboard
open override fun toString(): String