You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to clo...@googlegroups.com
Spyscope is a library that allows you to write very little code to get threadsafe tracing of your Clojure. Example: (println #spy/d (+ 1 2 3)) traces the execution of the form '(+ 1 2 3)
Spyscope also supports interactive querying of trace results with a repl toolkit (see README)
This version of spyscope has a few new features: - You can add :marker metadata to your spies and have that be shown in the output
- You can add :time metadata to include a timestamp (using clj-time for formatting)
- The spied-on form is always printed unless explicitly repressed (i.e. ^{:form true} is default now)
To use, just include [spyscope "0.1.3"] in your project.clj (or follow the directions in the README to enable globally). You'll need to (require 'spyscope.core) somewhere if you don't add it as an injection.