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

ritz-nrepl not working on osx #103

Open
instilled opened this issue Jul 24, 2013 · 0 comments
Open

ritz-nrepl not working on osx #103

instilled opened this issue Jul 24, 2013 · 0 comments

Comments

@instilled
Copy link

Hi,

I would like to use ritz-nrepl for debugging purposes from within Emacs. Because it already fails with lein ritz-nrepl I did not go further with the Emacs integration yet.

Exception in thread "main" com.sun.jdi.connect.VMStartException: VM initialization failed for: ...

I know that this exception was around for some time and that there are potential fixes for it, A Working nrepl-ritz Setup?, Can't get emacs + ritz-nrepl working on a Macintosh system.

Otherwise, nrepl et al. are working perfectly fine on my system. I'm using clojure 1.5.1 with

$> lein version
Leiningen 2.2.0 on Java 1.7.0_25 Java HotSpot(TM) 64-Bit Server VM

My ~/.lein/profiles.clj looks like this:

{:user
 {:plugins [[lein-ritz "0.7.0"]]
  :dependencies [[nrepl-inspect "0.3.0"]
                 [org.clojure/tools.trace "0.7.5"]
                 [ritz/ritz-nrepl-middleware "0.7.0"]
                 [ritz/ritz-debugger "0.7.0"]
                 [clojure-complete "0.2.3"]]
  :repl-options {:nrepl-middleware
                 [ritz.nrepl.middleware.javadoc/wrap-javadoc
                  ritz.nrepl.middleware.simple-complete/wrap-simple-complete
                  inspector.middleware/wrap-inspect]}}}

From within a lein project I run lein ritz-nrepl. But this fails with the above exception. I've run lein ritz-nrepl -l trace but found no useful output. What can I do to get this running?

BTW. I've tested this with the the ritz 0.7.1-SNAPSHOT but the error persists.

Any help is greatly appreciated.

Fabio

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

1 participant