This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
hey everyone. i just tried the cider-debug in master and cider-nrepl-0.10-0-SNAPSHOT. it looks great, but I don’t seem to have any cursor movement or highlighting of which sexp it’s at. cursor stays up by the defun line.
I saw the video of good behavior here: http://endlessparentheses.com/debugger-improvements-in-cider-0-10-0.html?source=rss&utm_source=dlvr.it&utm_medium=twitter
@sundbp: Make sure both your cider-nrepl and your Cider (the emacs package) are the latest version.
and it’s a bit out of control - so it may well be here. gonna give it a spin in prelude here.
@sundbp: So the values are displayed properly, and you can step through the evaluation, but the cursor is always left at the top of the function?
i’ll give it a go over the day here and see if i can separate it into my own clashing stuff or something real
If you feel like debugging the debugger, it's always good to know what caused it to break in the other setup
Regarding cider debugger - when I'm starting to debug a function and then I'm switching to another buffer - is it possible to return to the debug session? Because it's not obvious whether it ended and what to do about it.
@mateusz-fiolka: The session should still be waiting for your input in that first buffer.
If you no longer care about the session, you can always use the usual cider-interrupt command, which is boudn to
@malabarba: But when I try to continue using "n" it modifies the buffer, so minibuffer looses focus.
Another minor problem is that clearing repl output doesn't work always. Maybe it's a know problem?
secondly, the debugger from 0.9.1 shouldn't let you move around or switch buffers. So something is going wrong. When you start the REPL do you get warnings about inconsistent versions?
@malabarba: Yes, I do. 0.9.1 / 0.9.0 mismatch. Is this a serious problem? Because it looks like a warning.
Later on, if you prefer to stay on the stables, you can delete the cider package, configure Melpa stable, and install the 0.9.1.
Instrument function, call the function - function name get's highlighted in red, first expression is highlighted and result is printed on the right
When I switch buffer back to the original buffer the cursor is where I'm clicking. I can now type "n" and it will be changing the buffer text.
There is only the red overlay left, no current expression overlay (I guess this is just emacs highlighting so it's lost with change of focus)
Magit does this thing where it automatically reverts buffers depending on what you do
I'll try to figure out a general way to handle cases like buffer reverting/being-killed