Can't get the debugger cdt run

2011-11-30 Thread svenali
Hello all,

I try to get the cdt debugger running and fail. I've build the cdt
with leiningen and have this jar file in my classpath. A simple (use
'cdt.break) work. But if I want to use com.georgesjahad.cdt I get the
following error message:

=> (use 'com.georgesjahad.cdt)
#

But a
=> (use 'cdt.ui)
nil

work.

Where is my problem?

regards,
Sven

-- 
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


Re: Can't get the debugger cdt run

2011-12-02 Thread George Jahad
The namespace have been restructured so 'com.georgesjahad.cdt doesn't
exist anymore.

The easiest way to use cdt is from emacs, as described here:
http://georgejahad.com/clojure/swank-cdt.html

Hugo Duncan also has a separate emacs based clojure debugger called
Ritz, described here:
https://github.com/pallet/ritz


On Nov 29, 2:29 pm, svenali  wrote:
> Hello all,
>
> I try to get the cdt debugger running and fail. I've build the cdt
> with leiningen and have this jar file in my classpath. A simple (use
> 'cdt.break) work. But if I want to use com.georgesjahad.cdt I get the
> following error message:
>
> => (use 'com.georgesjahad.cdt)
> # locate com/georgesjahad/cdt__init.class or com/georgesjahad/cdt.clj on
> classpath: >
>
> But a
> => (use 'cdt.ui)
> nil
>
> work.
>
> Where is my problem?
>
> regards,
> Sven

-- 
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


Re: Can't get the debugger cdt run

2011-12-02 Thread Sean Corfield
On Fri, Dec 2, 2011 at 12:37 PM, George Jahad
 wrote:
> The easiest way to use cdt is from emacs, as described here:
> http://georgejahad.com/clojure/swank-cdt.html

Could you add a note to clarify that connecting "as usual" to a swank
server is via the Emacs slime-connect command since I had to ask on
IRC?

This is the first time I've tried CDT and I have to say, I'm very
impressed with how easy it is to use! Thank you!!
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
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


Re: Can't get the debugger cdt run

2011-12-03 Thread Chris Perkins
On Saturday, December 3, 2011 12:16:43 AM UTC-5, Sean Corfield wrote:
>
> On Fri, Dec 2, 2011 at 12:37 PM, George Jahad
>  wrote:
> > The easiest way to use cdt is from emacs, as described here:
> > http://georgejahad.com/clojure/swank-cdt.html
>
> Could you add a note to clarify that connecting "as usual" to a swank
> server is via the Emacs slime-connect command since I had to ask on
> IRC?
>
> This is the first time I've tried CDT and I have to say, I'm very
> impressed with how easy it is to use! Thank you!!
> -- 
>
So I guess you didn't get this error then?

user> (require '[swank.cdt :as d])
warning: unabled to add tools.jar to classpath. This may cause CDT 
initialization to fail.

Anyone know how to fix that?

- Chris

-- 
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

Re: Can't get the debugger cdt run

2011-12-03 Thread Edmund
Chris, that's not fatal.  Mine works just fine despite the warning.

On 03/12/2011 11:29, Chris Perkins wrote:
> On Saturday, December 3, 2011 12:16:43 AM UTC-5, Sean Corfield
> wrote:
> 
> On Fri, Dec 2, 2011 at 12:37 PM, George Jahad 
>  wrote:
>> The easiest way to use cdt is from emacs, as described here: 
>> http://georgejahad.com/clojure/swank-cdt.html
> 
> 
> Could you add a note to clarify that connecting "as usual" to a
> swank server is via the Emacs slime-connect command since I had to
> ask on IRC?
> 
> This is the first time I've tried CDT and I have to say, I'm very 
> impressed with how easy it is to use! Thank you!! --
> 
> So I guess you didn't get this error then?
> 
> user> (require '[swank.cdt :as d]) warning: unabled to add
> tools.jar to classpath. This may cause CDT initialization to fail.
> 
> Anyone know how to fix that?
> 
> - Chris
> 
> -- 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

-- 
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


Re: Can't get the debugger cdt run

2011-12-03 Thread Chris Perkins
I realize now that I just pasted the warning, but I was getting a class 
loading exception too.
>
> I seem to have solved it with this, in my project.clj:

  :extra-classpath-dirs ["/usr/lib/jvm/java-6-sun/lib/tools.jar"]

I still get the warning, but it works now.  Thanks Edmund.

- Chris

-- 
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

Re: Can't get the debugger cdt run

2011-12-03 Thread Sean Corfield
On Sat, Dec 3, 2011 at 3:29 AM, Chris Perkins  wrote:
> So I guess you didn't get this error then?

I did get that warning on my desktop system but CDT worked just fine.

> user> (require '[swank.cdt :as d])
> warning: unabled to add tools.jar to classpath. This may cause CDT
> initialization to fail.

On my netbook, it actually did cause CDT to fail. I symlinked
tools.jar into ~/.lein/plugins/ so I wouldn't have to mess with
project.clj (since I have the same project.clj on both machines and
the tools.jar path is different!). That was based on a hint from Phil
H in a Leiningen thread about tools.jar (sorry, don't have the link
handy).
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
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