On Wed, Jul 7, 2010 at 11:43 AM, George Jahad <cloj...@blackbirdsystems.net> wrote: > Thanks Markus, > > yes, I intentionally wanted to keep it "decoupled from any particular > editor". I had two goals in writing CDT. > > The immediate goal was to provide a better tool for debugging > exceptions, which was harder than it should be in Clojure. > > The longer term goal was to expose the JDI to Clojure in a way that > allows us all to experiment with, to really provide a debugger > toolkit, little building blocks that we can all assemble in our own > ways until we find the best debugging patterns that work for Clojure, > patterns that we can share with each other without worrying about > which IDE we are using. > > I think debugging Clojure is a unique beast and the standard line by > line step and break paradigm isn't sufficient. I wanted a toolkit > that allows me to easily throw together debugger extensions that are > Clojure specific. > > For example, with the building blocks CDT provides, I think it would > be fairly easy to write a function that returns a seq of all the > locals in all of the threads. You could then filter through that seq > to find the ones that are holding the head of a lazy seq. I doubt you > could do that with any other debugger, and certainly not easily. CDT > is actually a hackable debugger. > > Anyway, back to your point, I've found tool discussions often become > marginalized because they are tied to a specific IDE/platform so only > users of that platform can participate intelligently. By leaving it > "decoupled", I'm hoping to provide a level playing field where we can > all share ideas. > > The downside of course is it is much less user-friendly than one that > is actually integrated with an IDE. It's certainly not going to solve > "Clojure's n00b attraction problem" ;)
More debugging options are very helpful! CDT reminds me a bit of common lisp exception handling. But as always, documentation and more documentation would be good :) Especially with examples like the one you describe with locals in all of the threads. > On Jul 6, 11:30 pm, mac <markus.gustavs...@gmail.com> wrote: >> I agree with Laurent, this looks very cool. >> It's great that you are making it a text/repl interface because that >> means it's decoupled from any particular editor and can easily be used >> as a base for gui debuggers in different editors and IDEs. >> >> /Markus >> >> On Jul 7, 7:39 am, George Jahad <cloj...@blackbirdsystems.net> wrote: >> >> > Thanks for the heads up, (and for the compliment,) Laurent. I should >> > have checked it out more carefully beforehand. I'm probably going to >> > leave it as it is for now, until I see how much interest there is. >> >> > As you may have suspected, I'm an Emacs user and so don't know much >> > about Eclipse. But I know you put a lot of work into >> > CounterClockwise, and our community is lucky to have you! >> >> > On Jul 6, 1:21 am, Laurent PETIT <laurent.pe...@gmail.com> wrote: >> >> > > Oh, and btw, impressive work ! :) >> >> > > 2010/7/6 Laurent PETIT <laurent.pe...@gmail.com>: >> >> > > > Hi George, >> >> > > > a quick word concerning the name: FYI, CDT, in the Eclipse world, in a >> > > > name taken a long time ago to mean "C/C++ Development Tools". Make >> > > > what you want with this info :) >> >> > > > 2010/7/6 George Jahad <cloj...@blackbirdsystems.net>: >> > > >> My experiment with the JDI: >> >> > > >>http://georgejahad.com/clojure/cdt.html >> >> > > >> -- >> > > >> 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 > -- Anders Rune Jensen http://www.iola.dk -- 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