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

Two convenience predicate functions useful for IDE-tools

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Labels:
      None
    • Patch:
      Code and Test

      Description

      In our IDE-tool clj-ns-browser, we show the user a list of vars and make it easy to add a trace by selecting a var and clicking a button.

      In order to only enable the button for a var that is traceable, we use predicate "var-traceable?".

      In order to change the button text from "trace" to "untrace", we use predicate "var-traced?".

      Both "var-traceable?" and "var-traced?" are aware of tools.trace internals - ideally, we would like to remain oblivious to trace's inners...

      Our implementations for the predicates is at: https://gist.github.com/2472261

      Thanks for the great tool!

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: