Re: Debugging with JSwat

2008-10-29 Thread Craig Andera
As a follow-on to this, it turns out that debugging works *only* when I pull the files in via require; neither slime-load-file nor slime-eval-buffer nor load-file result in breakpoints getting hit. On Fri, Oct 24, 2008 at 1:27 PM, Craig Andera <[EMAIL PROTECTED]> wrote: >>> It's very likely/nearl

Re: Debugging with JSwat

2008-10-24 Thread Bill Clementson
On Fri, Oct 24, 2008 at 10:31 AM, Craig Andera <[EMAIL PROTECTED]> wrote: > >>> It's very likely/nearly certain I'm still doing something wrong - I >>> appreciate the help. > > Indeed it was me: everything started working as soon as I made sure my > .clj files were in CLASSPATH the way require des

Re: Debugging with JSwat

2008-10-24 Thread Craig Andera
>> It's very likely/nearly certain I'm still doing something wrong - I >> appreciate the help. Indeed it was me: everything started working as soon as I made sure my .clj files were in CLASSPATH the way require describes they should be. I'm sure it doesn't help that I'm a Java n00b in addition to

Re: Debugging with JSwat

2008-10-24 Thread Bill Clementson
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=" (or something similar) to this >> to specify which port you want to use. In my blog example, I'm using >> "88

Re: Debugging with JSwat

2008-10-24 Thread Craig Andera
> No, that's not enough. You didn't specify the port that you want to > connect to JSwat on. add "address=" (or something similar) to this > to specify which port you want to use. In my blog example, I'm using > "": > -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address= >

Re: Debugging with JSwat

2008-10-24 Thread Bill Clementson
Hi Craig, On Fri, Oct 24, 2008 at 7:55 AM, Craig Andera <[EMAIL PROTECTED]> wrote: > >> Are you doing all of the following: >> >> 1. Specify the appropriate debug options when you start Clojure (see >> step #4 in my blog post) > > Yep. Here's the full command line: > > c:\WINDOWS\system32\java.ex

Re: Debugging with JSwat

2008-10-24 Thread Craig Andera
> Are you doing all of the following: > > 1. Specify the appropriate debug options when you start Clojure (see > step #4 in my blog post) Yep. Here's the full command line: c:\WINDOWS\system32\java.exe -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n -cp "C:/bin/clojure/clojure/svn/cloju

Re: Debugging with JSwat

2008-10-24 Thread Bill Clementson
Hi Craig, On Fri, Oct 24, 2008 at 6:23 AM, Craig Andera <[EMAIL PROTECTED]> wrote: > > [Tried sending this before. Never appears to have shown up. Trying > again after mucking with my Google account some.] > > On Tue, Oct 21, 2008 at 11:11 AM, Allen Rohner <[EMAIL PROTECTED]> wrote: >> >>> I wond

Re: Debugging with JSwat

2008-10-24 Thread Craig Andera
[Tried sending this before. Never appears to have shown up. Trying again after mucking with my Google account some.] On Tue, Oct 21, 2008 at 11:11 AM, Allen Rohner <[EMAIL PROTECTED]> wrote: > >> I wonder if this doesn't have something to do with the fact that I'm >> doing everything via the REPL

Re: Debugging with JSwat

2008-10-21 Thread Allen Rohner
> I wonder if this doesn't have something to do with the fact that I'm > doing everything via the REPL. Is it possible to break on code you've > evaluated via M-x slime-eval-buffer? I'm able to set breakpoints in > (e.g.) boot.clj. I think it does. The compiler associates a file name line number

Debugging with JSwat

2008-10-20 Thread Craig Andera
I'm a total Clojure beginner, not to mention a C# guy with little Java experience, but as I suspect I'm not alone I'll go ahead and ask what's probably a dumb question. :) I'm writing some simple code, and I've hit the point where having a debugger would be helpful. Once I convinced clojure-swank