Hi, I'm currently trying to debug a custom obsole...
# intellij
j
Hi, I'm currently trying to debug a custom obsolete version of the embedded Kotlin script compiler running in Gradle. For some reason I can't get the IDEA (2024.3.3) CE debugger to use the source code of that version on some classes (e.g.
Psi2IrTranslator.class
) of the Kotlin compiler while it works on others (e.g.
JvmIrCodegenFactory.kt
). Using the
Choose Sources...
feature on the banner of the decompiled class does not work (it shows the same decompiled class and the banner again). Manually (re-)adding the sources in the library in the project structure does not work either. What else could I try?
Apparently source root detection fails to detect automatically the other roots in
compiler/ir
in that version. Adding them manually seems to work so far.
image.png
BTW I'm having the same issue with Kotlin
2.0.20
which is not that old.