Re: New Release of the Clojure Debugging Toolkit

2011-03-18 Thread Jeff Bordogna
my apologies George - upon closer inspection, I don't have a tools.jar file - must have been in a daze before...I updated openjdk-6-jdk and it's update included the tools.jar file (not sure why it wasn't there to begin with though)...now I'm happily humming along with CDTthanks for all your

Re: New Release of the Clojure Debugging Toolkit

2011-03-16 Thread George Jahad
try adding that jar to your classpath, and see if that fixes it. if not, run "jar -tf" on the tools.jar file to dump the table of contents on it and email it to me and i'll see if i can figure out what is going on. On Mar 15, 7:34 pm, Jeff Bordogna wrote: > George, >    Thanks for the respons

Re: New Release of the Clojure Debugging Toolkit

2011-03-15 Thread George Jahad
odd. try adding that jar to your classpath, and see if that fixes it. if not, run "jar -tf" on the jar file to dump the table of contents on that tools.jar file and email it to me and i'll see if i can figure out what is going on. On Mar 15, 7:34 pm, Jeff Bordogna wrote: > George, >    Thanks

Re: New Release of the Clojure Debugging Toolkit

2011-03-15 Thread Jeff Bordogna
George, Thanks for the response. I'm using openjdk and it lives: file:usr/lib/jvm/java-6-openjdk/jre/../lib/tools.jar (and the format function worked to find that as well). Anything I need to change wrt that? Thanks, Jeff -- You received this message because you are subscribed to the

Re: New Release of the Clojure Debugging Toolkit

2011-03-15 Thread George Jahad
couple of thoughts: cdt uses the jdk's tools.jar for access to the java debug interface, (jdi). it's expecting it here: (format "file:///%s/../lib/tools.jar" (System/getProperty "java.home")) do you have such a file there? if not, do you have a tools.jar file anywhere else? which jdk are you

Re: New Release of the Clojure Debugging Toolkit

2011-03-15 Thread Jeff Bordogna
I'm on Ubuntu and getting this same error. I can load up the repl no problem (tried with java command, and also with lein swank/slime), but after setting my port on M-x cdt, I get the following in gud-clojure.main: Current directory is ~/ Clojure 1.2.0 user=> java.lang.ClassNotFoundException: c

Re: New Release of the Clojure Debugging Toolkit

2010-10-13 Thread atreyu
I suppose it could be a way to unify both versions using (System/ getProperty "path.separator") and (System/getProperty "file.separator") I add the leo changes (to master vesion -lesses changes-) and it works for me thanks!! On Oct 12, 2:53 pm, leo wrote: > This works for me under Windows 7. I se

Re: New Release of the Clojure Debugging Toolkit

2010-10-13 Thread atreyu
I suppose it could be a way to unify both versions using (System/ getProperty "path.separator") and (System/getProperty "file.separator") I try to fix it like Leo but i get a regexp exception using (reval) with \ -- You received this message because you are subscribed to the Google Groups "Clojur

Re: New Release of the Clojure Debugging Toolkit

2010-10-12 Thread leo
This works for me under Windows 7. I set all forward slashes paths in my .emacs file like this: (progn (setq cdt-dir "c:/msysgit/cdt") (setq cdt-source-path "c:/clj/clojure-1.2.0/src/jvm;c:/clj/ clojure-1.2.0/src/clj;c:/clj/clojure-contrib-1.2.0/src/main/clojure/ clojure/contrib;") (load-fil

Re: New Release of the Clojure Debugging Toolkit

2010-10-11 Thread atreyu
ok i have made a (ugly) trick to make it work, copying tools.jar in cdt/lib and changing cdt.el: (defun cdt-query-cmdline () (let ((path (strip-trail cdt-dir))) (format "java -classpath%s/lib/clojure-1.2.0.jar;%s/lib/clojure- contrib-1.2.0.jar;%s/lib/debug-repl-0.3.0-20091229.021828-3.jar;%s

Re: New Release of the Clojure Debugging Toolkit

2010-10-11 Thread atreyu
ok i have made a (ugly) trick to make it work, copying tools.jar in cdt/lib and changing cdt.el: (defun cdt-query-cmdline () (let ((path (strip-trail cdt-dir))) (format "java -classpath%s/lib/clojure-1.2.0.jar;%s/lib/clojure- contrib-1.2.0.jar;%s/lib/debug-repl-0.3.0-20091229.021828-3.jar;%s

Re: New Release of the Clojure Debugging Toolkit

2010-10-11 Thread atreyu
On Oct 12, 12:48 am, atreyu wrote: > Hi folks and congrats to George Jahad for this great work. > Hoewer the cdt dont work on my windows vista. After some changes on my > own i get the same error of Greg Willams: > > java.lang.ClassNotFoundException: com.sun.jdi.Bootstrap (cdt.clj:28) > > i've t

Re: New Release of the Clojure Debugging Toolkit

2010-10-11 Thread atreyu
Hi folks and congrats to George Jahad for this great work. Hoewer the cdt dont work on my windows vista. After some changes on my own i get the same error of Greg Willams: java.lang.ClassNotFoundException: com.sun.jdi.Bootstrap (cdt.clj:28) i've tried add-classpath of tool.jar (where is the class

Re: New Release of the Clojure Debugging Toolkit

2010-10-11 Thread Gregg Williams
>> You going to do some speech recognition in Clojure? Unfortunately, no. I just have some hand RSI problems, and I use Dragon NaturallySpeaking for writing e-mails and documenting Clojure code. You can see an example of the notes I've taken while going through the labrepl exercises at http://www

Re: New Release of the Clojure Debugging Toolkit

2010-10-10 Thread George Jahad
> George, I don't know what time zone you live in, but you are one crazy > person! I'm on vacation in NYC for a couple more days, then back home to Silicon Valley. Still jet lagged which explains my odd hours. (Not to mention that being in New York is such a rush it's pretty hard to sleep!) > Y

Re: New Release of the Clojure Debugging Toolkit

2010-10-10 Thread Gregg Williams
George, I don't know what time zone you live in, but you are one crazy person! You're doing fantastic work for the Clojure community, and I thank you very much for that! The Emacs I was using was Clojure Box, so I disconnected slime (just in case) and tried what you suggested. The results were bet

Re: New Release of the Clojure Debugging Toolkit

2010-10-10 Thread George Jahad
> git fetch Actually, instead of git fetch, use: git pull origin windows On Oct 10, 4:39 am, George Jahad wrote: > I haven't gotten it working on Windows yet, (as I mention > here:http://georgejahad.com/clojure/emacs-cdt.html) > > I don't think it will be hard, but I've never run Clojure on Wi

Re: New Release of the Clojure Debugging Toolkit

2010-10-10 Thread George Jahad
I haven't gotten it working on Windows yet, (as I mention here: http://georgejahad.com/clojure/emacs-cdt.html) I don't think it will be hard, but I've never run Clojure on Windows, so I'm not sure of the issues involved. I need someone like you to help me figure them out. I'm guessing the most i

Re: New Release of the Clojure Debugging Toolkit

2010-10-09 Thread Gregg Williams
Thanks for your "ridiculously long instructions" on using cdt; I appreciate your thoroughness. I'm working on the %$#...@^@! Windows platform (Windows XP, to be precise), and I'm unable to set cdt-source-path in my .emacs file. I can get my Clojure REPL to start just fine: C:\tech>java - ag

Re: New Release of the Clojure Debugging Toolkit

2010-10-08 Thread limux
I use "java - agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8021 - client -cp h:/clojure/libs/clojure-contrib-1.2.0.jar;h:/clojure/libs/ clojure-1.2.0.jar clojure.main --repl" to invoke java, and there is not any jars in the classpath. The user namespace is there after I invoke java

Re: New Release of the Clojure Debugging Toolkit

2010-10-08 Thread Robert McIntyre
I believe this is not caused by any problems with the debugging environment. Instead you appear to not have the clojure jar on your classpath. I would recommend you explicitly launch java with java -cp "H:\path\to\clojure.jar" plus any additional arguments of course. if this is still not worki

Re: New Release of the Clojure Debugging Toolkit

2010-10-08 Thread limux
I do a full source install of clojure follow by the article "Emacs Front End to the Clojure Debugging Toolkit", I started the java vm with all the necesory arguments, and M-x cdt, then there will be some error messages as below: Current directory is H:\heoxsoft\emacs\emacs-23.2\bin/ java.lang.NoC

Re: New Release of the Clojure Debugging Toolkit

2010-10-08 Thread George Jahad
sa-jdi.jar is supposed to come with the jdk. The code I use for finding it should work for sun's 1.6 jdk on linux and osx. Which java are you using? What os are you running it on? Also, what problem are you running into without it? (I think I only use it for some advanced features which you ma

Re: New Release of the Clojure Debugging Toolkit

2010-10-07 Thread limux
where is the sa-jdi.jar, there isn't the sa-jdi.jar under my java's lib directory. On 9月29日, 下午12时00分, George Jahad wrote: > hmmm, you must be as big a debugger geek as I am, but I'm not sure > anyone else would be interested. > > In any case the commands are almost trivial, which is why I don't

Re: New Release of the Clojure Debugging Toolkit

2010-09-29 Thread Sam Aaron
On 29 Sep 2010, at 5.19 am, George Jahad wrote: > > > Also, Sam, my previous post seems to have gotten eaten, but I'll work > on that screencast. Actually, you seem to have sent it directly to me :-) A screencast would be wonderful! Sam --- http://sam.aaron.name -- You received this messag

Re: New Release of the Clojure Debugging Toolkit

2010-09-28 Thread George Jahad
I forgot to make clear in my post that port 8021 is just an example, you should use another if that one is in use, and you get this error: [null] ERROR: transport error 202: bind failed: Address already in use [null] ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) Adie

Re: New Release of the Clojure Debugging Toolkit

2010-09-28 Thread George Jahad
hmmm, you must be as big a debugger geek as I am, but I'm not sure anyone else would be interested. In any case the commands are almost trivial, which is why I don't think it will be too hard to port this to other IDE's: These are the CDT commands that were generated by the Emacs front end in the

Re: lein java opts on command line Was: New Release of the Clojure Debugging Toolkit

2010-09-28 Thread Phil Hagelberg
On Tue, Sep 28, 2010 at 7:40 PM, Eric Schulte wrote: > Currently I use the :jvm-opts keyword in project.clj, however it would > be nice to be able to specify different argument when using different > tools as mentioned in the thread above, or to be able to set different > values (e.g. maximum heap

lein java opts on command line Was: New Release of the Clojure Debugging Toolkit

2010-09-28 Thread Eric Schulte
Baishampayan Ghose writes: >>> Why do you ask? Is there some particular functionality you are >>> interested in? >> >> Well, I'm just learning too. Currently I rely on lein swank to start >> up my JVM so that slime can connect to it. CDT seems to want you to >> manually start up the JVM with a p

Re: New Release of the Clojure Debugging Toolkit

2010-09-28 Thread Baishampayan Ghose
George, > As some of you know, I suffer from a seemingly interminable obsession > with improving the Clojure debugging story.  It just seems so clear to > me that Clojure deserves a world class debugger, one befitting it's > power, beauty and elegance.  Maybe one day, we'll get there.  Till > then

Re: New Release of the Clojure Debugging Toolkit

2010-09-28 Thread David Nolen
On Tue, Sep 28, 2010 at 3:40 AM, George Jahad wrote: > As some of you know, I suffer from a seemingly interminable obsession > with improving the Clojure debugging story. It just seems so clear to > me that Clojure deserves a world class debugger, one befitting it's > power, beauty and elegance.

Re: New Release of the Clojure Debugging Toolkit

2010-09-28 Thread Baishampayan Ghose
>> Why do you ask?  Is there some particular functionality you are >> interested in? > > Well, I'm just learning too. Currently I rely on lein swank to start up my > JVM so that slime can connect to it. CDT seems to want you to manually start > up the JVM with a particular set of flags. So, do yo

Re: New Release of the Clojure Debugging Toolkit

2010-09-28 Thread Sam Aaron
On 28 Sep 2010, at 11.20 am, George Jahad wrote: > Why do you ask? Is there some particular functionality you are > interested in? Well, I'm just learning too. Currently I rely on lein swank to start up my JVM so that slime can connect to it. CDT seems to want you to manually start up the JVM

Re: New Release of the Clojure Debugging Toolkit

2010-09-28 Thread George Jahad
I regularly use both simultaneously. While Slime and the CDT don't currently leverage each other, they don't interfere with each other either as far as I know, unless you happen to suspend the swank server thread. Not sure what all the implications of that are. I'm still learning. Why do you as

Re: New Release of the Clojure Debugging Toolkit

2010-09-28 Thread Sam Aaron
Wow, looks very useful. Quickly perusing the 'ridiculously long instructions' it seems that it isn't compatible with slime. Is this the case? Does slime fit into your workflow, and if so, how? Sam --- http://sam.aaron.name On 28 Sep 2010, at 9.08 am, Laurent PETIT wrote: > 2010/9/28 George

Re: New Release of the Clojure Debugging Toolkit

2010-09-28 Thread Laurent PETIT
2010/9/28 George Jahad > As some of you know, I suffer from a seemingly interminable obsession > with improving the Clojure debugging story. It just seems so clear to > me that Clojure deserves a world class debugger, one befitting it's > power, beauty and elegance. Maybe one day, we'll get the

New Release of the Clojure Debugging Toolkit

2010-09-28 Thread George Jahad
As some of you know, I suffer from a seemingly interminable obsession with improving the Clojure debugging story. It just seems so clear to me that Clojure deserves a world class debugger, one befitting it's power, beauty and elegance. Maybe one day, we'll get there. Till then, here are my lates