Fork me on GitHub

I think there was a command to inspect the last value.


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"


Ah, yeah. I didn’t actually see the screenshot until now.


I don’t have the functionality you’re after exists (yet).


@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

Perry Fraser20:04:41

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.

Perry Fraser20:04:21

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

Perry Fraser20:04:08

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

Perry Fraser20:04:14

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.