Closed kpgalligan closed 2 months ago
Context on what triggered this issue: https://kotlinlang.slack.com/archives/CTJB58X7X/p1687275483250989
This is the only commit where the script has changed since 2020. Appears to also be the only diff from what we have currently in the plugin.
So I'm not clear does the plugin support 1.9?
Yes, the plugin supports Kotlin 1.9 and also Kotlin 2.0.
Summary
We use the lldb script that ships with Kotlin, which hasn't changed in many versions. It has changed with 1.9 fairly significantly.
Details
We use the same lldb script as Kotlin. In the past, we've had a lightly modified script, for optimizations. I'm not sure if our last script was 100% stock or not (I think it was, but it has been some time). We need to take the script from 1.9.0, put it in the plugin, and test that building with 1.9.0 works for debugging.
Then, assuming that works, we should get a sense of performance. If the debugging works OK, we can just move forward, and maybe add another task to look into performance. If it's bad, or doesn't work at all, we'll need to dig deeper.
After everything works, we'll need to release a new version of the install tool. We don't currently support multiple Kotlin versions with the tool, mostly because the lldb script hasn't changed in a long time. We'll probably need to have the "install" process somehow be able to distinguish versions. Should discuss a design of this after we test that 1.9 works.