On Fri, Oct 24, 2008 at 8:16 AM, Craig Andera <[EMAIL PROTECTED]> wrote: > >> No, that's not enough. You didn't specify the port that you want to >> connect to JSwat on. add "address=8888" (or something similar) to this >> to specify which port you want to use. In my blog example, I'm using >> "8888": >> -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8888 > >> Port "50525" is the port that SLIME/SWANK is using to establish the >> communications between your running Clojure instance and the emacs >> lisp code. You can't use this same port for JSwat. > > Actually, there are two port-related messages in *inferior-lisp*: one > talks about the port that SLIME is using to talk to SWANK, and I used > the other one. So it appears that a port is chosen for you if you > don't specify one. And as I said, I'm able to attach JSwat and set > (and, more importantly, trigger) breakpoints in boot.clj. So I don't > think anything was wrong with how I was connecting JSwat. > > That said, I went head and did as you suggested (it's a PITA to look > up the port every time as I had been doing), but still no luck. > >> If you do the above, it should work for you. > > If only that were true. :) > > It's very likely/nearly certain I'm still doing something wrong - I > appreciate the help.
I'm grasping at straws here, but: 1. Presumably, you're running a compatible version of JSwat (the latest version doesn't work with Java 1.5) 2. Presumably, you've tried setting breakpoints on multiple lines in your source file (for some reason, you can't always set a breakpoint on a clojure line - I haven't figured out why, maybe something to do with whether the statement is defined with defn or not). 3. Presumably, you've tried debugging different source files (in case there's some peculiar problem with the specific source file you're attempting to debug) It might help if you create a small clojure program, and note down all the steps that you go through. Then, I can replicate what you're doing and see if I get a different result. - Bill --~--~---------~--~----~------------~-------~--~----~ 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 To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---