sly icon indicating copy to clipboard operation
sly copied to clipboard

[FEATURE REQUEST] Debug Opening a Buffer REPL

Open daninus14 opened this issue 7 months ago • 2 comments

When debugging the when a condition stops the process and we have access to the stack, we can press in slime/sly 'e' or 'd' (iirc) to evaluate an expression.

However, in slime/sly the mini buffer opens up which:

  • doesn't keep history
  • doesn't have autocomplete

It would be great to have a regular REPL buffer open up everywhere we want on the stack instead of only having access to the mini buffer. This would help a lot to interactively fix bugs and develop solutions which can be easily checked. Then we can have a buffer dedicated to that place in the stack and interact with the data, inspect it easily, run functions, keep variables like * (last output), have autocomplete, see the results of previously executed expressions, be able to copy paste, and the full REPL experience. Coding in the mini buffer compared to the REPL is very limiting.

This seems so obvious to me, I don't understand why it's not standard in slime/sly to begin with; maybe it is and I just don't know how to activate it?

Note this is related to https://github.com/slime/slime/issues/875

daninus14 avatar Aug 05 '25 13:08 daninus14

As mentioned in the Slime thread, see https://gitlab.com/akashadutchie/sly-mrepl-db.

aadcg avatar Aug 13 '25 06:08 aadcg

Yeah, it would be nice to have this functionality baked into sly and polished.

daninus14 avatar Aug 13 '25 22:08 daninus14