https://kotlinlang.org logo
#coroutines
Title
# coroutines
d

dave08

05/24/2018, 1:30 PM
How could I debug/test code w/ a bunch of Coroutine Channels/actors that just hangs? It's a bit complex so it's hard to find the culprit...
s

spand

05/24/2018, 1:37 PM
Have you tried that ?
d

dave08

05/24/2018, 1:39 PM
You mean setting
System.setProperty("kotlinx.coroutines.debug", "on")
?
s

spand

05/24/2018, 1:41 PM
I just mean to point you to that page. I have not used it. It mentions debugging facilities.
d

dave08

05/24/2018, 1:42 PM
Thanks, I'll try... simple smile
w

withoutclass

05/24/2018, 2:26 PM
I just put printlns everywhere xD
😜 1
4 Views