tools.trace

Documentation describing the features of tools.trace

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

I've been working on debugging some clojure systems and a coworker suggested that one helpful tool might be tools.trace. But the current documentation does nothing to help me understand how it might help.

For example here is a selection from the README:

```
(trace (* 2 3)) ;; To trace a value

(trace tag (* 2 3)) ;; To trace a value and assign a trace tag
```

But I as a total newb, have no idea what a trace is, why that would be useful, or why I would want to assign it to a tag (or even what a tag is).

I could pop open lein, get it installed, and play with it for a bit, but it's not clear to me why I should.

Activity

Hide
Luc Préfontaine added a comment -

I revamped the readme a bit but left stuff of larger scope open to experiment by the developper
(trace-ns/trace-vars and so forth).
Tracing existed for decades in Lisp, a simple Google search would give you an idea of what to expect.

Show
Luc Préfontaine added a comment - I revamped the readme a bit but left stuff of larger scope open to experiment by the developper (trace-ns/trace-vars and so forth). Tracing existed for decades in Lisp, a simple Google search would give you an idea of what to expect.
Hide
Luc Préfontaine added a comment -

Modified README, no code change

Show
Luc Préfontaine added a comment - Modified README, no code change

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: