Is there a known issue with debug breakpoints in 2...
# intellij
r
Is there a known issue with debug breakpoints in 2024.3? They don't seem to be working anymore
a
Works here 😉 Which configuration do you run? You didn't mute them, right? Do the breakpoints have that check mark? Please provide slightly more details, so we can start investigation. Thanks!
r
Hi Anna. Our project is using: • Kotlin 1.4.31 • JDK 11 • Spring Boot 2.0.6.RELEASE The application is run using
bootRun
. I can confirm the breakpoints are being hit correctly using IntelliJ 2024.2.4, but not in 2024.3 or 2024.3.1 Preview
a
Do the breakpoints have check marks?
Do you use K2 mode or is it K1?
r
I've tried with and without K2 enabled. It still only works in 2024.2.4, not 2024.3 Here it is in 2024.2.4:
And here in 2024.3:
m
@Ruben Holen Hi! I cannot reproduce the problem. Could you please try to reproduce the issue with a small example and share it with me?
r
Here you https://github.com/ruben-ohme/ij-2024-3-debug-test A breakpoint in
ApiServer.onStartup
works in 2024.2.4 but not in 2024.3. It simply prints and continues
👀 1
I've also noticed that it doesn't kill the process when you stop the debugger, so I suspect it's not attaching properly
Actually, it may be related to gradle. 6.6.1 doesn't work but 7.6.4 does
m
Good observation, thank you!
r
Thank you