Skip to content
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

No reader function for tag dbg with boot #1596

Closed
sooheon opened this issue Feb 29, 2016 · 4 comments
Closed

No reader function for tag dbg with boot #1596

sooheon opened this issue Feb 29, 2016 · 4 comments

Comments

@sooheon
Copy link

sooheon commented Feb 29, 2016

Calling cider-debug-defun-at-point with a boot connected cider-repl errors out with java.lang.RuntimeException: No reader function for tag dbg. This is a duplicate issue of #1462, just a new issue as per @Malabarba 's request.

Steps to reproduce the problem

Contents of my profile.boot

(set-env!
 :dependencies '[[org.clojure/tools.nrepl "0.2.12"
                  :exclusions [org.clojure/clojure]
                  :scope "test"]
                 [boot-deps "0.1.4" :scope "test"]])

(require '[boot-deps :refer [ancient]]
         'boot.repl)

(swap! boot.repl/*default-dependencies* concat
       '[[cider/cider-nrepl "0.11.0-SNAPSHOT"]
         [refactor-nrepl "2.2.0-SNAPSHOT"]])

(swap! boot.repl/*default-middleware* conj
       'cider.nrepl/cider-middleware
       'refactor-nrepl.middleware/wrap-refactor)

cider-jack-in in a boot project and calling cider-debug-defun-at-point will reproduce.

Environment & Version information

CIDER version information

;; CIDER 0.11.0snapshot (package: 20160228.454), nREPL 0.2.12
;; Clojure 1.8.0, Java 1.8.0_60

Emacs version

GNU Emacs 24.5.1 (x86_64-apple-darwin15.4.0, NS apple-appkit-1404.41) of 2016-02-26 on Icarus

Operating system

OSX El Capitan

@mitchelkuijpers
Copy link

A quick fix is running (boot.core/load-data-readers!) in your cider-repl, this works for me in emacs 👯

@Malabarba
Copy link
Member

Sorry nobody replied before. Indeed the workaround above is the only known solution.

Closing as a duplicate of #1462.

@ds2643
Copy link

ds2643 commented Feb 27, 2017

@mitchelkuijpers Do you know how to implement this solution in the context of a lein project?

@wminshew
Copy link

having this issue w/ lein as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants