Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide Kotlin coroutines impelementation details in the trace #518

Open
eupp opened this issue Feb 10, 2025 · 1 comment
Open

Hide Kotlin coroutines impelementation details in the trace #518

eupp opened this issue Feb 10, 2025 · 1 comment
Assignees
Milestone

Comments

@eupp
Copy link
Collaborator

eupp commented Feb 10, 2025

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

@ndkoval
Copy link
Collaborator

ndkoval commented Feb 10, 2025

Please also see #303

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants