Open korsmakolnikov opened 7 years ago
I was wondering about the same. Looks like it stops once per expression on the line.
E.g. a breakpoint on a line with:
(+ 1 2)
will stop only once, while a line with:
(+ 1 (+ 2 3))
will stop twice.
Line | Number of stops |
---|---|
(+ 1 2) |
1 |
(+ 1 (+ 2 3)) |
2 |
(+ 1 (+ 2 (+ 3 4))) |
3 |
(println 1) |
2 |
(println (+ 1 2)) |
3 |
I'm using: IntelliJ IDEA 2018.3 (Ultimate Edition) Build #IU-183.4284.148, built on November 21, 2018 JRE: 1.8.0_152-release-1343-b15 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.12.6 Cursive 1.8.0-eap11-2018.3
Maybe it is not a bug. I found that generally debbugger stops two/four times on a single breakpoint. Even in the simplest case (hello world) it stops two times, like was calling two times a function that is obviously impossible because I have just one line output (hello world, exactly).
I'm using: IntelliJ IDEA 2017.1.2 Build #IC-171.4249.39, built on April 25, 2017 JRE: 1.8.0_112-release-736-b16 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Mac OS X 10.11.6 Cursive 1.5.1-eap1-2017-1