Alexander
11/08/2022, 11:39 AMkotlinx-coroutines-debug
library. After sending a SIGTRAP
signal there are coroutines stacktraces like following:
Coroutine StandaloneCoroutine{Active}@4491c16c, state: SUSPENDED
...
Coroutine StandaloneCoroutine{Active}@27559007, state: SUSPENDED
...
However it is not possible to understand which stack belongs to which coroutine. All my coroutines have unique names. Is it possible to activate printing of coroutine names?Alexander
11/08/2022, 11:49 AMCoroutine "coroutine#2":DeferredCoroutine{Active}@289d1c02, state: SUSPENDED
So I'm wondering is it a regression or there is a possibility to activate the feature.reformator
11/09/2022, 1:39 PMtoString()
of the continuation, which doesn't contain the name of the coroutine.Alexander
11/09/2022, 1:41 PMreformator
11/09/2022, 1:50 PMAlexander
11/09/2022, 7:44 PMtoString()
method of a coroutine contains its name if following property is set:
-Dkotlinx.coroutines.debug=on