kotlinx-lincheck icon indicating copy to clipboard operation
kotlinx-lincheck copied to clipboard

Hide Kotlin coroutines impelementation details in the trace

Open eupp opened this issue 9 months ago • 1 comments

Consider the following example:

val executorService = Executors.newFixedThreadPool(2)
executorService.asCoroutineDispatcher().use { dispatcher ->
    val job = launch(dispatcher) {
            counter++
    }
    job.join()

Currently, if a lincheck test fails in such a case, it would also output in the trace all the implementation details of the coroutines.

We need to improve on this, and do not show these details by default to the user.

Partially depends on #501 and #506

eupp avatar Feb 10 '25 15:02 eupp

Please also see #303

ndkoval avatar Feb 10 '25 20:02 ndkoval