Small plugin for finding infinite loops


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. :smiley:

You can use it if you have the same problem, I’ve made it into Gradle plugin:

1 Like

Sounds like the halting problem :slight_smile: