Fork me on GitHub
#cider
<
2021-10-27
>
Casey09:10:55

My cider repl sessions are crashing, but I'm not sure how to debug it. I'm REPLing away when all of a sudden my send-to-repl commands are failing because there "Is No Linked CIDER Session". I don't see any error messages anywhere... is there a way to enable logging or something to troubleshoot what's going on? (I'm using Doom, cider-nrepl 0.27.2 and cider with https://github.com/clojure-emacs/cider/commit/0a9d0ef429e76ee36c34e116c4633c69cea96c67)

Casey11:10:24

Thanks this is just what I needed, I'll start troubleshooting and see what's going on.

richiardiandrea20:10:30

Hi there, does cider-debug-function-at-point replace the var of the function? I am trying to debug a pedestal handler but I cannot seem to get it working...

dpsutton20:10:31

yes. i think the way it works is that instruments the forms by reevaluating with custom debugger code involved

❤️ 1
richiardiandrea20:10:42

That explains it thank you - every time I refresh I have a new var and that debug info is lost - sounds good

dpsutton20:10:33

yeah. that's how you uninstrument a function, just re-eval it

👍 1