Hey Andreas:
I have heard that it works on Windows, though I've never tried it.
Which jvm are you using?

Also, can you try attaching with command line jdb like so and see if
that gets the "no providers" exception.

1. add a specific port to your jvm options, like 8021 below:
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8021"

2. invoke jdb from the command line with that port, like so:
jdb -attach 8021

3. see if you get any errors
thanks,
g


On Aug 5, 4:34 am, Andreas Liljeqvist <bon...@gmail.com> wrote:
> I have problem getting it to work.
> Windows 7.
> swank-clojure 1.4.0-SNAPSHOT
> clojure-mode 1.10.0
> lein 1.6.1
> GNU Emacs 23.3.1 (i386-mingw-nt6.1.7600) of 2011-03-10 on 3249CTO
>
> project.clj:
>
> (defproject tetris "1.0.0-SNAPSHOT"
>   :description "FIXME: write"
>   :dependencies [[org.clojure/clojure "1.2.1"]
>                  [org.clojure/clojure-contrib "1.2.0"]
>  [midje "1.1-alpha-1"]]
>   :dev-dependencies [[clojure-source "1.2.1"]
>                      [swank-clojure "1.4.0-SNAPSHOT"]]
>   :jvm-opts ["-agentlib:jdwp=transport=dt_socket,server=y,suspend=n"])
>
> M-x: clojure-jack-in
>
> user> (use 'swank.cdt)
> warning: unabled to add tools.jar to classpath. This may cause CDT
> initialization to fail.
>
> com.sun.jdi.Bootstrap
>   [Thrown class java.lang.ClassNotFoundException]
> ...
>
> Manually added tools.jar to classpath.
>
> user> (use 'swank.cdt)
> warning: unabled to add tools.jar to classpath. This may cause CDT
> initialization to fail.
>  CDT  1.4.0a startup failed:  #<IOException java.io.IOException: no
> providers installed>
> nil
>
> Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to