I don't know yet, since what I have in mind at the moment is based on vague pattern matching of words rather than on knowledge of how Ritz works. :-) My basic idea was simply that the Ritz nrepl stuff only works in Emacs now, but it does work across an nREPL connection between a client and the JVM process containing the code you want to debug. If there is a subset of Ritz's debugging features that could be switched to work over a terminal/console connection like what you get with 'lein repl', then that might be a quicker path to the desired goal than lots of modifications to Clojure itself.
CC'ing Hugo Duncan in case he has time and interest in adding his much-more-educated-than-mine comments (Hugo, please don't take this as a request to do any work you don't want to -- I'm mostly hoping for an off-the-top-of-your-head answer like "debug features X and Y wouldn't be hard to do that way, but the rest would be much harder"). Andy On Thu, Nov 7, 2013 at 1:29 PM, Lee Spector <lspec...@hampshire.edu> wrote: > > Andy, > > I do think that if a debugging feature has to be limited to a particular > environment then Leiningen would be preferable to any other, since it's so > simple to install and use (and maybe most people have it anyway?) that > people who use other environments could, without too much trouble, do a new > run from Leiningen when they know they need to do some debugging. Not as > good as having it work everywhere with whatever you're already using, of > course, but certainly better than (for example) requiring that you figure > out how to install and use an Emacs-based environment just to figure out > what values your locals have when you crash. > > Would what you have in mind work from "lein run" as well as "lein repl"? > FWIW I (and my students) do a lot via "lein run". > > -Lee > > On Nov 7, 2013, at 2:47 PM, Andy Fingerhut wrote: > > > Lee, I am curious whether you would consider it "too tied to a > particular dev environment" if the kind of minimal debugging features you > wish for worked from Leiningen's REPL? i.e. 'lein repl' > > > > I do not know if Ritz can work in such an environment or not, but I am > guessing it might be easier to get a subset of it working there than from a > REPL started via 'java -cp clojure.jar clojure.main' > > > > Andy > > -- > -- > 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 unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.