-
-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
M-x cider-debug-defun-at-point fails, 'No reader function for tag dbg' #1218
Comments
//cc @Malabarba |
Wow, thanks for the thorough bug report. |
Also, what do you get if you evaluate |
@Malabarba Thanks :). You're absolutely right about the emacs version. I'm on 24.4.1. Updated the text to fix my error.
|
By the way, on an unrelated note: Shouldn't the name of the function be 'cider-debug-defn-at-point', rather than defun? |
It should probably be def at point, or, even better, “top-level sexp at point”. But then the name starts to get a little long. :) I used defun to be consistent with CIDER's other functions, like |
Could you try bumping your |
It works! That fixed it.
Is there some nifty way to always keep these up to date? |
I don't think so. =/ If you were using 0.9.0, then that was surely the problem. Glad it was easy to find. :) |
Sorry for reporting a non-bug then! Thanks a lot for creating cider and cider-debug - both are invaluable and make my life better :). Appreciate it a lot! |
@Malabarba So, guess we should bump the required nREPL to 0.2.10? :-) |
@bbatsov No. The issue was that the cider-nrepl version was 0.9.0. It's not an issue with tools.nrepl |
Ah, yes. I missed this. On Sunday, July 19, 2015, Artur Malabarba [email protected] wrote:
Best Regards, |
I'm getting the exact error with boot described as OP with same stack trace.
When jacking in a lein project the debugger works perfectly, so this seems to be a boot config problem.
|
Bonus output:
|
@Naomarik I've created a separate issue for that, thanks. |
Symptoms
Running
cider-debug-defun-at-point
always throws a ReaderException.I've tried this only on my machine, but in many different projects. I didn't have it in the version of Cider when cider-debug was introduced, but all subsequent versions of Cider.
How I reproduce it
Write a function like this
(defn say-hi [name] (str "Hi " name " !"))
. Place the point somewhere, like at the space after[name]
and before(str ...
. HitM-x cider-debug-defun-at-point
. Then it throws the exception.What I have tried (and how I have failed)
~/.emacs.d
System
GNU Emacs 24.4.1, installed with homebrew
Mac osx 10.10.3 (Yosemite)
; CIDER 0.10.0snapshot (package: 20150717.654) (Java 1.7.0_51, Clojure 1.7.0, nREPL 0.2.7)
Stack trace
The text was updated successfully, but these errors were encountered: