I'm using a try/catch on a function call from a li...
# coroutines
j
I'm using a try/catch on a function call from a library which is doing some heavy nested and recursive coroutines with a bunch of callbacks mixed from our project and the library project and am getting this error. Is there any way for me to figure out what coroutine this is and what class is the owner of it?
k
I might be difficult to do this since this is code you didn't write, but you could name the coroutines with
CoroutineName
Copy code
scope.launch(CoroutineName("my coroutine")) { ... }
r
Maybe https://github.com/Anamorphosee/stacktrace-decoroutinator might help identify the coroutine.
r
is that the Coroutines Debugger?
the coroutines Debugger might make things clear