This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-22
Channels
- # announcements (9)
- # beginners (96)
- # calva (14)
- # cider (49)
- # clj-kondo (29)
- # cljsrn (5)
- # clojure (55)
- # clojure-dev (37)
- # clojure-europe (4)
- # clojure-italy (4)
- # clojure-nl (5)
- # clojure-spec (5)
- # clojure-switzerland (3)
- # clojure-uk (5)
- # clojurescript (172)
- # cursive (14)
- # datomic (3)
- # duct (1)
- # emacs (6)
- # fulcro (17)
- # jobs (1)
- # leiningen (6)
- # nrepl (11)
- # off-topic (26)
- # pedestal (2)
- # re-frame (20)
- # reagent (9)
- # remote-jobs (3)
- # shadow-cljs (67)
- # spacemacs (24)
- # specter (6)
- # test-check (3)
- # tools-deps (18)
Anyway to get a stack trace of a execution error with a useful stacktrace when sending code to the REPL instead of a syntax error?
If I execute the code in the repl I get a reference to the line of the exception
When I send to the repl I get a reference to the line of the code I sent to the repl
Did you try (pst)
?
@caleb.macdonaldblack There’s a “Print stacktrace” button in the REPL toolwindow
is there any way to get clojure data structures in the debugger? I’m having a hard time parsing all the java 😞
@U3ZUC5M0R there is some repl-driven solutions, like https://github.com/vvvvalvalval/scope-capture
I usually just place a "inline def
" then I inspect it in REPL
https://blog.michielborkent.nl/2017/05/25/inline-def-debugging/
I’ve been doing similar things with atoms and conditions.. pushing stuff when some condition appears
it does work.. ish. cursive is a wonderful place to work, but I do look enviously at things like the cider debugger, or the chrome devtools (for example).