Friday, 25 October 2019

Debugging Gradle build files in Intellij / Android Studio

I am sometimes running into obscure problems with Gradle. Sometimes it helps if i am reading the source files or adding println statements to figure out what i can do and what the state is.

But i would really like to just place a breakpoint and list the internal state of variables. is that possible using Android Studio or IntelliJ ?

I would also love to ctrl-click to the DSL keywords so i can get some context.

Just placing a breakpoint and clicking "debug" from the list of gradle tasks does not work, it just runs the tasks without stopping.



from Debugging Gradle build files in Intellij / Android Studio

No comments:

Post a Comment