Fork me on GitHub
#cider
<
2017-03-02
>
jooivind15:03:43

When stopping at a breakpoint during debugging

jooivind15:03:54

is there any efficient way of grabbing a local value ?

jooivind15:03:14

so i can play around with the value in the REPL?

mgrbyte16:03:49

I usually hit "e" and type (pprint <val>), then copy into the repl

mgrbyte16:03:39

not sure if that counts as efficient 😛

dpsutton16:03:09

also, i think you can hit l to see the local values

dpsutton16:03:16

but i'm not sure of an easy way to copy those values

jooivind16:03:30

im experimenting using the trick @mgrbyte mentioned

jooivind16:03:42

doing (def x <value-im-interested-in)

jooivind16:03:52

however it does it’s define in the clojure.core namespace

jooivind16:03:25

It works though, which is pretty neat