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)
#<FileNotFoundException java.io.FileNotFoundException: Could not
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
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
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)
On Fri, Dec 2, 2011 at 12:37 PM, George Jahad
<clo...@blackbirdsystems.net> wrote:
> The easiest way to use cdt is from emacs, as described here:
> http://georgejahad.com/clojure/swank-cdt.htmlCould 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!!
--
> -- You received this message because you are subscribed to the
> Google Groups "Clojure" group. To post to this group, send email to
> clo...@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+u...@googlegroups.com For more options, visit this
> group at http://groups.google.com/group/clojure?hl=en
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).