We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14fa5a7 commit 4d5e2e0Copy full SHA for 4d5e2e0
kotlinx-coroutines-debug/src/CoroutineInfo.kt
@@ -14,7 +14,7 @@ import kotlin.coroutines.jvm.internal.*
14
* Class describing coroutine info such as its context, state and stacktrace.
15
*/
16
@ExperimentalCoroutinesApi
17
-public data class CoroutineInfo internal constructor(
+public class CoroutineInfo internal constructor(
18
val context: CoroutineContext,
19
private val creationStackBottom: CoroutineStackFrame,
20
@JvmField internal val sequenceNumber: Long
@@ -90,6 +90,10 @@ public data class CoroutineInfo internal constructor(
90
lastObservedThread = null
91
}
92
93
+
94
+ override fun toString(): String {
95
+ return "CoroutineInfo(state=$state,context=$context)"
96
+ }
97
98
99
/**
0 commit comments