Fork me on GitHub
#cider
<
2020-11-10
>
practicalli13:11:56

Using Reveal data visualisation with Cider Reveal can visually represent data as charts as well as text, tables, etc. There is even a chessboard example on https://vlaaad.github.io/reveal/ I've added several configuration options for using Reveal with Cider, for both cider-connect and cider-jack-in https://practicalli.github.io/clojure/clojure-tools/data-browsers/reveal.html

timsgardner23:11:58

#break never works for me. I don't know what I'm doing wrong

dpsutton23:11:54

can you try this simple example and eval it?

dpsutton23:11:03

(let [x 3]
  #break (+ x 1))

timsgardner23:11:56

huh, that works @dpsutton

dpsutton23:11:12

Then to cover the basics, are you evaling the form after adding the tag?

timsgardner23:11:17

but if i have this in a source file:

(defn glorp []
  (let [x 3]
    #break (+ x 1)))
and run (glorp) from a repl I just get 4, no break

timsgardner23:11:52

^ in that example I ran cider-load-buffer in the buffer with the breakpoint

timsgardner23:11:39

if I define it in the repl with the breakpoint and then run it, it works

dpsutton23:11:55

What if you leave it in the source buffer but just eval the single defn and then call it?

timsgardner23:11:50

hm that works

timsgardner23:11:14

though when I press q I get a NullPointerException (for forms defined in the repl too)