Uploaded image for project: 'tools.trace'
  1. TTRACE-3

untrace-var* removes only the highest level of tracing created by trace-var*

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Labels:
      None
    • Environment:

      Clojure 1.2-1.5.1

      Description

      Calling trace-var* (or using the macro trace-vars) multiple times on the same var(s) adds multiple tracing levels.
      To remove tracing completely, untrace-vars* has to be called at least the same number of times on the traced var(s).

      This behavior is annoying at the REPL where a single call to untrace-vars* would untracing much more simpler.
      However such a behavior might be desirable when programatically driven.

      Comments welcomed.

        Attachments

          Activity

            People

            • Assignee:
              lprefontaine Luc Préfontaine
              Reporter:
              lprefontaine Luc Préfontaine
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: