# amper

Landry Norris

11/16/2023, 10:32 PM
I wrote a quick amper project for some data analysis the other day, and noticed that breakpoints didn't work on jvm when running debug in fleet. Is this expected?


11/17/2023, 5:32 PM
Hi Landry, thanks for the report. This is not expected, but I couldn't reproduce your issue 🤔 Would you mind sharing more information? If you can share your sample project as a whole that's great, but otherwise at least a bit more details about the kind of project and your setup. For instance is it a pure JVM project or a multiplatform one? Which version of Fleet and Gradle did you run?

Landry Norris

11/17/2023, 5:40 PM
It's a pure jvm app, so my module.yaml only contains
product: jvm/app
, and it's a small project, so only a main function. I checked that I can't reproduce with just a simple hello, world in main, so I'll have to play around with it and see if I can find a minimal reproducer. I'm on the latest Fleet.
Interestingly, when I copied my code, then trimmed it to just a hello, world, then pasted it back, breakpoints work now. They didn't work on the same code before.


11/17/2023, 5:58 PM
Oh, thanks for the additional info. Well, good to hear that this is resolved. Though it's still a bit puzzling that breakpoints didn't work consistently for you 🤔

Landry Norris

11/17/2023, 6:01 PM
I spent a fair bit of time trying to figure it out yesterday, but really just wanted to check if I was wasting my time on a known limitation. It's good to know that breakpoints should work. The only thing I could think of is that I got an error in Fleet at some point that the IntelliJ engine was out of sync and had to restart the IDE. That may have messed with something.
👍 1