Closed Futurile closed 4 years ago
Your suggestion is reflected in the new 0.6.6 version of debux library. Thanks a lot for the suggestion!
I wrote a post about a few tools including Debux here: http://www.futurile.net/2020/05/16/clojure-observability-and-debugging-tools/
I found a useful function in the Postmortem that provides the local variables of a function. It's really useful for trying to understand the local context of the function. Would you consider adding a feature to debux?
For example, something like this:
A new option called
:locals
provides any local vars.In Postmortem there's a specific function called debug, see the link for an example. Hash-meta has played with some interesting ideas and its implementation does this:
The only way I could figure out how to do this with debux at the moment was to specifically call the vars in a dbg such as
(dbg [fname height weight i])