This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: problems with slime
* Rzvan Rotaru [2011-12-03 21:02] writes:
> Hi,
>
> I'm trying to connect slime to kawa, and ran into some issues. I'm
> starting the swank server by hand like this:
>
> razvan@ro-rotaru:~$ kawa -e '(begin (require "swank-kawa.scm")
> (create-swank-server 4005))'
> Listening on port: 4005
I think the debug agent is missing. I use something like this
java7 -Xss450k -agentlib:jdwp=transport=dt_socket,server=y,suspend=n \
-cp /scratch/kawa/:/opt/java/current/lib/tools.jar kawa.repl \
-e '(begin (require "swank-kawa.scm") (create-swank-server 4005))'
The -agentlib argument starts the debug agent. The -Xss450k increases
the stack size (apparently I'm the only one who needs that). Also make
sure that the version of tools.jar matches the version of the jvm.
Occasionaly I have to add -s to suppress Kawa's listener window.
Helmut