Good question. The jvm debuggers are inherently linenumber oriented as is the JDI. The question is can we overload the "linenumber" concept to map more closely to what we want to do with Clojure.
It's on my list of things to explore, but that's getting to be a pretty long list, and it's not at the top. That may change depending on interest, but will almost certainly require hacking the compiler; right now other improvements have a better cost/benefit ratio. One other thing. Before I actually got CDT working, I was concerned about this very issue. But the more I use it, the more I see that the ability to run reval from the command line over arbitrary expressions smooths out the rough edges. If the breakpoint doesn't stop precisely where you want it to, it's almost always simple to cover that up, by adding a let expression or something similar to the actual expression you want to reval. As long as the breakpoint gets you into the function you want, reval has access to lexical scope of that function. From there, if need be, you can literally paste the entire body of the function into the reval call, making slight edits to it until you've emulated the lexical scope you would have gotten from more precise breakpoints. Make sense? Try it and see. On Oct 1, 7:39 pm, Per Vognsen <per.vogn...@gmail.com> wrote: > That's some great work there, George! > > Are there any basic obstructions in the backend to doing > expression-oriented rather than line-oriented breakpoints and > stepping? > > -Per > > On Sat, Oct 2, 2010 at 3:32 AM, George Jahad > > <cloj...@blackbirdsystems.net> wrote: > > For your delectation: > >http://www.vimeo.com/15462015 > > > -- > > 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