I wrote a quick amper project for some data analys...
# amper
l
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?
j
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?
l
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.
j
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 🤔
l
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