Re: Clojure + Intellij IDEA: stepping through Clojure implementation code

2010-01-03 Thread Miron Brezuleanu
Hello, and thanks everyone for the information. I have this Visual Studio + ClojureCLR + Emacs (last one to run a REPL in a *shell* buffer) setup that I use to experiment with ClojureCLR. What I do is have the REPL in Emacs, attach to it from Visual Studio, set breakpoints, use Immediate Mode etc

Re: Clojure + Intellij IDEA: stepping through Clojure implementation code

2010-01-03 Thread Miron Brezuleanu
Hi Rich, On Sat, Jan 2, 2010 at 7:13 PM, Rich Hickey wrote: > On Fri, Jan 1, 2010 at 5:16 PM, Miron Brezuleanu wrote: > > Hello, > > In order to get a better understanding of how some things happen in > Clojure, > > I'd like to step through Clojure code (and I mean the Java code used to > > imp

Re: Clojure + Intellij IDEA: stepping through Clojure implementation code

2010-01-02 Thread Ilya Sergey
Hello, Miron. to debug your Clojure scripts in IntelliJ with the appropriate plugin installed, just create new run configuration for .clj file. It may be created automatically via Ctrl(Meta)-Shift-F10 default shortcut. After this you can run it in REPL mode or as a standalone script and put break

Re: Clojure + Intellij IDEA: stepping through Clojure implementation code

2010-01-02 Thread Rich Hickey
On Fri, Jan 1, 2010 at 5:16 PM, Miron Brezuleanu wrote: > Hello, > In order to get a better understanding of how some things happen in Clojure, > I'd like to step through Clojure code (and I mean the Java code used to > implement Clojure). Basically, just debug a REPL, set breakpoints etc. > Since

Re: Clojure + Intellij IDEA: stepping through Clojure implementation code

2010-01-02 Thread ianp
> Now when I try to get a REPL (by using clojure.main as the startup class), I > get an error about clojure/core.clj not being on the classpath. While a very > rough solution would be to just move clj/clojure somewhere on the path, I'd > like to know how to change the classpath for a module. Are y

Re: Clojure + Intellij IDEA: stepping through Clojure implementation code

2010-01-02 Thread Laurent PETIT
Don't know about the current IDEA "La Clojure" clojure plugin status. But concerning Eclipse (and its counterclockwise plugin), what you describe here works well AFAIK. It's also possible to place breakpoints on your own .clj files. You can quickly start from here : http://code.google.com/p/coun

Clojure + Intellij IDEA: stepping through Clojure implementation code

2010-01-01 Thread Miron Brezuleanu
Hello, In order to get a better understanding of how some things happen in Clojure, I'd like to step through Clojure code (and I mean the Java code used to implement Clojure). Basically, just debug a REPL, set breakpoints etc. Since there's a free version of IDEA, I downloaded it and successfully