This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-04-28
Channels
- # admin-announcements (1)
- # aws (2)
- # beginners (21)
- # boot (28)
- # braid-chat (1)
- # cider (51)
- # cljs-edn (7)
- # cljsjs (35)
- # cljsrn (2)
- # clojure (85)
- # clojure-chicago (7)
- # clojure-czech (1)
- # clojure-gamedev (3)
- # clojure-poland (2)
- # clojure-russia (80)
- # clojure-sanfrancisco (1)
- # clojure-uk (5)
- # clojurebridge (9)
- # clojurescript (68)
- # cursive (29)
- # datomic (23)
- # emacs (2)
- # hoplon (94)
- # jobs-discuss (15)
- # juxt (2)
- # liberator (2)
- # luminus (16)
- # mount (12)
- # off-topic (7)
- # om (57)
- # onyx (58)
- # proton (10)
- # re-frame (9)
- # reagent (38)
- # remote-jobs (2)
- # rum (12)
- # untangled (136)
I’m unable to get cider debugger in 0.12, though I used it extensively in 0.11. I requested help earlier this week and I still can’t figure out what’s missing. Does anyone know how to debug the debugger!
The error message after C-u C-M-x is generic: symbol’s function definition is void: cider—region-for-defun-at-point
Given that I can manage dependencies at the top-level, I assume cask is better at managing them. Oh well
Do you see any conflicts with this dependency list https://github.com/priyatam/emacs.d/blob/master/Cask
I reordered the list with melpa-stable, followed by marmalade. Reinstalled all my Emacs deps from scratch. Still same error.
This will tell you which is the function that is trying to call cider—region-for-defun-at-point
You can then click through to the function's source, and that should pinpoint the problem.
the debugger throws at https://github.com/clojure-emacs/cider/blob/master/cider-interaction.el#L1162
however the top error is different:
Debugger entered--Lisp error: (void-function cider--region-for-defun-at-point)
cider--region-for-defun-at-point()
ad-Advice-cider-eval-defun-at-point((closure (t) (&optional debug-it) "Evaluate the current toplevel form, and print result in the minibuffer.\nWith DEBUG-IT prefix argument, also debug the entire form as with the\ncommand `cider-debug-defun-at-point'." (interactive "P") (let ((inline-debug (eq 16 (car-safe debug-it)))) (if debug-it (progn (if (derived-mode-p (quote clojurescript-mode)) (progn (if (y-or-n-p ...) (progn ...)) (user-error "The debugger does not support ClojureScript"))) (if inline-debug (progn (cider--prompt-and-insert-inline-dbg))))) (cider-interactive-eval (if (and debug-it (not inline-debug)) (progn (concat "#dbg\n" (cider-defun-at-point)))) nil (cider-defun-at-point (quote bounds))))) (4))
apply(ad-Advice-cider-eval-defun-at-point (closure (t) (&optional debug-it) "Evaluate the current toplevel form, and print result in the minibuffer.\nWith DEBUG-IT prefix argument, also debug the entire form as with the\ncommand `cider-debug-defun-at-point'." (interactive "P") (let ((inline-debug (eq 16 (car-safe debug-it)))) (if debug-it (progn (if (derived-mode-p (quote clojurescript-mode)) (progn (if (y-or-n-p ...) (progn ...)) (user-error "The debugger does not support ClojureScript"))) (if inline-debug (progn (cider--prompt-and-insert-inline-dbg))))) (cider-interactive-eval (if (and debug-it (not inline-debug)) (progn (concat "#dbg\n" (cider-defun-at-point)))) nil (cider-defun-at-point (quote bounds))))) (4))
cider-eval-defun-at-point((4))