This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-29
Channels
- # announcements (4)
- # architecture (1)
- # beginners (113)
- # boot (17)
- # calva (40)
- # cider (9)
- # clara (1)
- # cljs-dev (21)
- # cljsrn (21)
- # clojure (47)
- # clojure-dev (8)
- # clojure-europe (2)
- # clojure-italy (46)
- # clojure-nl (10)
- # clojure-spec (1)
- # clojure-turkiye (1)
- # clojure-uk (46)
- # clojurescript (102)
- # core-async (21)
- # cursive (35)
- # data-science (1)
- # datomic (7)
- # emacs (2)
- # graphql (1)
- # lumo (15)
- # nrepl (4)
- # nyc (1)
- # off-topic (5)
- # overtone (3)
- # pathom (10)
- # quil (6)
- # re-frame (30)
- # reagent (7)
- # reitit (33)
- # rewrite-clj (1)
- # shadow-cljs (37)
- # spacemacs (73)
- # test-check (3)
- # testing (2)
- # vim (59)
cider-inspect-last-result
? Unfortunately that doesn't seem to work during a debugging session, it just freezes for a while and throws a "Sync nREPL request timed out"
@qythium I'm not sure what you're asking for - as you step through the debugger the values are shown.
If you want to show a previous value then, I think, your only option is inspect
and then copy the expression into the minibuffer
How can I debug a function that takes args? If I do cider-debug-defun-at-point on
#dbg (verb-stem-to-table "porto" "porta")
I just get the normal (no breakpoints run) return value.And obviously I can’t run debug-defun-at-point in the func as the function itself (that takes args ofc) is what I’m debugging
The only way I can seem to get it to work is with
(defn tmp [] #dbg (verb-stem-to-table "porto" "porta"))
(tmp) ;; Run debug-... with point here
Oh, I’ve figured it out. You run debug on verb-stem-to-table then just normally eval (verb-stem-to-table "porto" "porta")
. Sorry y’all.