Hi. I hava a question about how to debug compiler....
# gradle
m
Hi. I hava a question about how to debug compiler. my goal is to figure out how “incremental-compilation-impl” works. so i need to debug kotin compiler. I have searched a lot about how to debug kotlin compiler, most common answer is ” ./gradlew --no-daemon -Dorg.gradle.debug=true -Dkotlin.daemon.jvm.options=“-Xdebug,-Xrunjdwp:transport=dt_socket\,address=5005\,server=y\,suspend=n” :clean assemble ” But it didn’t work.. At first, i guess it was the daemon problem. but i realized that i cannot use other way such as “in-process” or “out-proess”. because only “incremental-compilation” build only works in “daemon”. I have read a lot code of kotlin daemon..but still cannot find how to play with it. Any ideas about it? thanks a lot!