Also bear in mind that due to the functional nature of Clojure you can
debug a lot of problems using tracing, like clojure.contrib.trace (for
< 1.3), C-c C-t in Emacs, or this handy macro:

(defmacro dbg[x] `(let [x# ~x] (println "dbg:" '~x "=" x#) x#))

(func1 (func2 arg1) arg2) -> (dbg (func1 (dbg (func2 arg1)) arg2))

Stolen from here:
http://stackoverflow.com/questions/2352020/debugging-in-clojure

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to