Fork me on GitHub
#cursive
<
2022-10-05
>
antonmos16:10:04

Hello! When I use the debugger, i have to hit “step into” up 3 times to get to the next line of code. I also cant set breakpoints in let bindings. I also sometimes see that the debugger go to the else form of if and then goes back to the “then” form. I dont see any of these issues in github. Does anyone else have these issues?

cfleming22:10:08

As Alex mentions, this is to do with how Clojure compiles to bytecode. I’m planning to discuss this with JetBrains to see if I can work around it, but I haven’t done so yet.

❤️ 2
antonmos22:10:45

Thank you for clarifying!

cfleming05:10:31

I’ve filed this issue as a catch-all for these sorts of problems: https://github.com/cursive-ide/cursive/issues/2739. I’d like to get some simple repro cases in there I can take to JetBrains, I’ll try to come up with some next week but if anyone else has any drop them either here or over on the issue.

Alex Miller (Clojure team)17:10:14

A lot of this has to do with how Clojure code is translated into bytecode with source mappings

👍 1
Alex Miller (Clojure team)17:10:00

I have definitely seen some of those issues