looks neat!
I'll check it out as soon as possible...:-)

Jim

On 21/10/12 00:01, David Greenberg wrote:
Spyscope is a better println, inspired by some of the recent postings
on the Clojure mailing list about using reader macros for debugging.

Spyscope can be included in your project by adding [spyscope "0.1.0"]
to your :dependencies.

Spyscope provides 3 reader tags for debugging: simple pretty printing,
pretty printing with extra details, and pretty printing into an
asynchronous queryable data store.

More features:
- Can include the code that generated the value next to every dumped form
- Can include multiple lines from the stack, in context, filtering for
only application-specific libraries to debug complex control-flow
issues
- All of this is loggable and queryable asynchronously, making it
easier to debug multi-threaded interactions

Spyscope uses metadata to convey arguments to the reader tags. This
allows for one to first just add a tag, then decide to include more
context/filtering/processing as the situation warrants.

Finally, an example, which asynchronously logs the expression to the
trace store, including the stack frame it was invoked on, the source
code of the expression, and the result of the expression:

#spy/t ^{:ast true} (+ 1 2 3)

For more information and detailed documentation, check out
https://github.com/dgrnbrg/spyscope


--
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