In case anybody is developing tools for this kind of thing, one of the things I most miss from Common Lisp is the ability to interrupt a running expression AND see the values of locals at the point of interruption. Fantastically useful for debugging. As far as I know there's no environment that lets you do this for Clojure. Seeing locals at the context of an exception (for each stack frame) is also fantastically useful and at the top of my wish list for the ecosystem... and while I've heard tell that there's a way to do this (Ritz?) if you run within emacs, I've never actually seen this in action and would love it if there was a more broadly accessible way to do this.
-Lee > On Feb 21, 2015, at 8:59 AM, Fluid Dynamics <a2093...@trbvm.com> wrote: > > It depends on what REPL/IDE you are using. In Counterclockwise there's an > icon on the REPL pane's upper right with a red box near a gear, third from > the left, which interrupts the currently running expression. Some other REPL > environments provide similar functionality, as other people have noted in > this thread, while others unfortunately don't provide a way short of > restarting the REPL (and losing anything you've def'd or defn'd at the REPL > in the process -- it's a good idea to keep a scratch file in Notepad or > somewhere and paste things there that don't belong in your source code but > which are convenient to run from time to time in the REPL, such as ad hoc > tests or convenience functions and defs for during development). -- 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/d/optout.