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

Caused by: java.lang.RuntimeException: Unable to resolve var: com.gfredericks.debug-repl/wrap-debug-repl in this context #7

Closed
cch1 opened this issue Jan 5, 2019 · 5 comments

Comments

@cch1
Copy link

cch1 commented Jan 5, 2019

I'm seeing an exception loading debug repl. This is the leiningen :repl profile:

 :repl {:plugins [[cider/cider-nrepl "0.19.0"]]
        :dependencies [[com.gfredericks/debug-repl "0.0.9"]]
        :repl-options {:prompt (fn [ns] (str ns "> " ))
                       :init (set! *print-length* 50)
                       :nrepl-middleware [com.gfredericks.debug-repl/wrap-debug-repl]
                       }}

This occurs with leiningen 2.8.3

@gfredericks
Copy link
Owner

Looks like something changed in leiningen between 2.8.1 and 2.8.2.

The last item in this list sounds related.

@gfredericks
Copy link
Owner

Judging by the docs linked there, I think the change I just pushed to this branch is necessary, but it doesn't seem to be sufficient; I at least get a different error using that code.

@gfredericks
Copy link
Owner

The issues beyond changing the namespace names may be related to removing the nrepl-53 monkeypatch as described in #8.

@gfredericks
Copy link
Owner

Please try version 0.0.10 and let me know if you're still having issues.

@cch1
Copy link
Author

cch1 commented Feb 11, 2019

This seems to have fixed the problem for me.

@cch1 cch1 closed this as completed Feb 11, 2019
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

2 participants