Skip to content
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

Common Lisp interactive debugger #616

Open
axvr opened this issue Nov 8, 2024 · 2 comments
Open

Common Lisp interactive debugger #616

axvr opened this issue Nov 8, 2024 · 2 comments
Labels
client-commonlisp enhancement New feature or request

Comments

@axvr
Copy link

axvr commented Nov 8, 2024

Hi @Olical,

I was trying out the Common Lisp support in Conjure and noticed that the SWANK client doesn't appear to support Common Lisp's interactive debugger.

Some examples in Conjure:

image

Same examples in SBCL command line:

Screenshot 2024-11-08 at 16 29 21

You can see that no debugger info was printed to Conjure and it doesn't prompt for a debug option to be selected. (The red underline is where it prompted to select a debugger option.)

It may be that #343 is a prerequisite for this.

@russtoku
Copy link
Contributor

Your issue is also related to issue #281 in the sense that direct user interaction with the Common Lisp or MIT-Scheme REPL isn't currently supported. Some hammock time is required along with some refactoring. Both clients would benefit.

A starting point may be the eval-str function in fnl/conjure/client/common-lisp/swank.fnl. The callback function passed to the send function call would need to be expanded to deal with user interaction and sending what the user types to the REPL.


(fn [msg] ;; handle results from Swank server

Sadly, the Common Lisp client needs someone to work on it. For some history, see #345, #348, #400, and #557.

@Olical Olical added enhancement New feature or request client-commonlisp labels Nov 13, 2024
@Olical
Copy link
Owner

Olical commented Nov 13, 2024

Well said and thanks for linking all of these related issues together! That's helpful! A rework of how stdio clients operate so we can do more interesting things like this is high up my priority queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client-commonlisp enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants