[TTRACE-1] Two convenience predicate functions useful for IDE-tools Created: 23/Apr/12 Updated: 01/Dec/12 Resolved: 01/Dec/12
|Reporter:||Frank Siebenlist||Assignee:||Luc Préfontaine|
|Patch:||Code and Test|
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!
|Comment by Luc Préfontaine [ 14/Nov/12 5:56 PM ]|
Done, however the names where changed to traced? and traceable?.
|Comment by Luc Préfontaine [ 14/Nov/12 6:18 PM ]|
Done is 0.7.4
|Comment by Luc Préfontaine [ 01/Dec/12 3:38 PM ]|
Done, "good" version is 0.7.5 (readme & comments need an update in 0.7.4")