Doesn't counterclockwise use debugging debugger in eclipse?

Counterclockwise, doco contains the following statement:

use the out-of-the-box Eclipse debugger possibilities to launch your launch configurations (Debug instead of Run What you can currently do is being able to place breakpoints in clojure code edited either via the standard text editor 

Which tells me to use the eclipse walking debugger. So I installed the following Clojure code:

  (ns ccwdebugtest) (def a 1) X) (def b 2) X) (def c 3) X) (def d 4) 

With the debugging points set in each of the marked X) - points, I decided to run the code through "Debug As> Clojure Application".

What I was expecting to receive was an invitation to start eclipse debugging mode - instead, a new REPL started down.

When I typed (println d) , I get 4 result.

This tells me that my breakpoints could not break at that moment.

Are my expectations invalid? Am I doing something wrong?

(I am running Eclipse Juno, with Java 1.7 on OS X 10.8.2 with CCW version 0.10.2.STABLE001)

+4
source share
1 answer

Not every Clojure line is compiled (by the Clojure compiler, nothing is related to CCW / Eclipse here) with line information for debugging.

Try something like creating a function and add a breakpoint for the line containing the expression, for example. (+ 2 3).

+3
source

All Articles