Hi!
I’ve been trying to find an infinite loop in my own code in a Kotlin/JS + coroutines + messaging + reactivity project.
As debugging coroutines is a pain, especially in a browser, I thought that it would be easier (and more fun) to write a small compiler plugin that counts the function calls.
You can use it if you have the same problem, I’ve made it into Gradle plugin: