On May 27, 2013, at 8:31 PM, Charles Harvey III wrote:
> If you haven't tried out Light Table, it shows you the values of local
> variables. It is a pretty nice feature.
>
I love the ideas behind LightTable and I check it out from time to time.
Checking it out now, though, regarding this issue, I don't see access to locals
at the time of an exception. For example:
(defn bad [n] (/ 2 n))
(defn bad-caller [x] (bad (- x 3)))
(bad-caller 3)
I get an exception:
java.lang.ArithmeticException: Divide by zero
Numbers.java:156 clojure.lang.Numbers.divide
Numbers.java:3667 clojure.lang.Numbers.divide
NO_SOURCE_FILE:8 ltfoo.core/bad
NO_SOURCE_FILE:12 ltfoo.core/bad-caller
NO_SOURCE_FILE:16 ltfoo.core/eval4706
but I don't see anywhere the value of n in bad at the time of the exception.
-Lee
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.