Fork me on GitHub
#protorepl
<
2016-07-19
>
jasongilman02:07:57

Proto REPL v 1.3.3 has been released which improves its ability to capture and view values during execution. The saved values display now includes a "def" button which lets you temporarily define vars for each of the local bindings that were captured. This makes transient bindings concrete for the purposes of debugging the code that was using them. Discuss in #C0RBXJEP5 https://github.com/jasongilman/proto-repl/raw/master/images/saved_values_table_expanded.png

jasongilman02:07:45

There's an equivalent update to the proto-repl Clojure library https://clojars.org/proto-repl You'll need to update your projects to version [proto-repl 0.3.0]

jasongilman02:07:21

Also potentially BREAKING: The proto namespace is no more. It's been replaced by proto-repl.saved-values.

richiardiandrea16:07:28

@jasongilman: that is The most useful feature for me in the world 😄 I use it all the time by copying the binding name and expression in a let of instance 😄

jasongilman17:07:05

@richiardiandrea: that's great. I find it useful too 🙂. I'm guessing most people don't understand the use case yet. I want to make a screencast to describe the process I use for debugging Clojure code and how I use that.

richiardiandrea17:07:44

oh that's great, I am really tempted to ditch cider...but how can I, I hope you understand.. 😄 my next goal is to have the same functionality in cider/emacs/custom function