bugfix: breakpoints were not working in Kotlin code
25 May 2018 | fix debugger kotlin ideaPrevious debugger maintenance allowed to build kotlin code for debug and attach debugger for it. It was even possible to step-in into kotlin code. Absence of any kotlin experience didn’t allow to test it deeper. As it kept failing on simplest case, setting of breakpoint, with following message:
No executable code found at line XX in class YYYY
Root case of this – debug plugin and debugger considered JVM code as compiled from Java file and returned .java
file extension everywhere.
The fix is bellow: