-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New user Feedback on troncle #4
Comments
I'm very grateful for the feedback, @y-p. The line/column info should indicate the source code start position of the form who's evaluation is being reported on. If you have an example where you're not seeing that, can you please post it? I'm coming from a python background, too, and I really miss the debugging facilities there. If you're interested in experimenting, there's a debugger in development on the branch https://github.com/coventry/troncle/tree/first-attempt-at-debugger. Use the elisp function troncle-debug-region to instrument a region with debugging tracing, and see debug.clj for the debugging commands. I suspect that the future of clojure debugging is something like an integration of Schmetterling and Light Table, now that it's open-sourced. I am thinking of repurposing troncle's core macroshka library to use the javascript in Python Tutor to display the evolution of small clojure data structures. So I'm not sure how much further I'm going to push it as an emacs development tool. |
What you describe re line information is what I see, but out what the 12th row from the start of the defn I tried the ritz debugger and jswat today, the first plotzes if you don't use an old nrepl.el (which schmetterling is new to me, it hasn't turned up in any search results - thanks for the tip. I've played with earlier Lighttable but wasn't blown away, It's probably time to give it another look. Even in python I hardly use debuggers to step through code, but I do miss |
Troncle seems like a good idea, I find myself still stuck doing printf debugging
with emacs for lack of better tooling.
A few suggestions:
troncle-set-exec-var
should try and guess the var i'm interested in fromthe region I selected. a little goes a long way to improve usability. (Update: does it actually do this already?)
you should suggest default key-bindings but not set them. Emacs keymaps
are a war zone.
that's related to my source file, not to the code fragment cider submits
to nrepl behind the scenes. That's probably a cider limitation though,
and it's troublesome there too (stack traces). @bbatsov ?
a tracing buffer which does something like emacs's support for jumping
from compilation errors to the offending line or a variation there-of might
be nice, that probably requires some work though.
Thanks for releasing.
The text was updated successfully, but these errors were encountered: