Trying to debug an annotation processor (using kotlin) on an android app (using kapt) but breakpoints does not work.
Any guidence?
I'm running:
gw --no-daemon :r:in:k:asDeb -Dkotlin.daemon.jvm.options="-Xdebug,-Xrunjdwp:transport=dt_socket\,address=5005\,server=y\,suspend=y"
after killing both daemons. I can connect, get a thread dump etc but it does not stop in breakpoints.
I tried,
suspend=n
, does not help.
I've also tried
-Dkotlin.compiler.execution.strategy="in-process"
to debug in gradle process but in that case daemon crashes.