Skip to content

Instantly share code, notes, and snippets.

@jennifersmith
Last active December 16, 2015 20:18
Show Gist options
  • Save jennifersmith/5490987 to your computer and use it in GitHub Desktop.
Save jennifersmith/5490987 to your computer and use it in GitHub Desktop.
Debugging tools for the dojo

clojure debugging toolkit - suspend execution, breakpoints etc.

http://georgejahad.com/clojure/cdt.html

Some interesting stuff about trace

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

Debugging macro = cool

;;debugging parts of expressions (defmacro dbg[x] `(let [x# ~x] (println "dbg:" '~x "=" x#) x#))

tutorial here:

http://www.learningclojure.com/2010/09/clojure-macro-tutorial-part-i-getting.html

Tests:

http://clojuredocs.org/clojure_core/clojure.test/deftest

pretty printing

http://clojuredocs.org/clojure_core/clojure.pprint/pprint

ritz

https://github.com/pallet/ritz/tree/develop/nrepl

@zoodor
Copy link

zoodor commented Apr 30, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment