I have an app. I would like to have debug mode and a production mode. In
the debug mode, I would like it if the arguments to each function were
pprint'ed to the terminal. Is there anyway to do this gracefully. I started
adding pprint to all of my functions, and then I thought There has got to
Checkout http://github.com/clojure/tools.trace ~BG
Sent from phone. Please excuse brevity.
On 4 Feb 2013 20:48, larry google groups lawrencecloj...@gmail.com
wrote:
I have an app. I would like to have debug mode and a production mode. In
the debug mode, I would like it if the arguments to
With tools.trace you can turn tracing on or off on the fly using trace-vars or
trace-ns.
You will get the fn call and its result printed.
Luc P.
Checkout http://github.com/clojure/tools.trace ~BG
Sent from phone. Please excuse brevity.
On 4 Feb 2013 20:48, larry google groups