-
Notifications
You must be signed in to change notification settings - Fork 13
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
Interaction with the debugger #24
Comments
Hello! Thanks for your kind words. I just pushed a fix that is somewhat primitive, but also flexible, and might satisfy the spartan-but-somehow-elegant philosophy of SBCLI:
How does that look to you? |
Thanks for your prompt fix! Two issues: 1. Unbound variable is not an error?
2. Lisp quits upon an attempt to interact.In the following example, I select "RETRY", but lisp quits
|
Hello! Thanks again for the feedback. The first item is trivial to fix. As I learned, however, the second item, which is much more severe, is not that easy to fix; it seems as if we’d have to implement our own debugger interactions to make this work. That’s not at all impossible, just a chunk of work that I can’t tackle at the moment. At best, I’ll be able to take another look over the weekend. At worst, this will be the state of things for an undeterminable while. Sorry about that! |
Have you looked into this? It doesn't have documentation though.. I'm not sure what it's doing at the time. But it claims to provide an interface between sbcl and GNU readline. |
Thanks for the input! I don’t think I explained the problem very well. We are already using cl-readline to have readline functionality; what we need is an interface to the debugger, i.e. something that actually implements the actions offered by the debugger interface, or potentially a wholly different interface altogether, since that one comes from the stock SBCL REPL and doesn’t play nicely with us. |
@jcguu95 Did you look at other terminal REPLs? notably cl-repl and Lem (which can be started as a Lisp REPL) both have a simple interactive debugger. This project doesn't (and it's a feature, IMO). |
Thanks for recommending cl-repl! I didn't know about that before :) |
yes it does. Inside Lem, call
|
Just as a record, there's another lisp repl with GNU readline |
Thanks for writing this wonderful thing!
I wonder if it's possible to interact with the debugger as in the usual sbcl. For now, by default, it seems that whenever an error (or a condition) occurs,
sbcli
prints the message to screen but does not let us choose what to do (e.g. ignore, accept, abort.. etc).The text was updated successfully, but these errors were encountered: