In the Guile Reference Manual (Interactive Debugging (Guile Reference Manual)) there is an illustration of “quit back to the top level” that involves repeating the ,q (or C-d) command until we are back at the top. Is there a shortcut? I’ve tried “,up n” and “,frame 0”, but to no avail.
In Guile’s interactive debugging, the commands you mentioned, ,up n
and ,frame 0
, are used for navigating through the stack frames, but they don’t allow you to directly quit back to the top level. If you want a quicker way to quit all nested REPLs and return to the top-level REPL, you can use the ,reset
command
This command effectively skips the need to repeatedly type ,q
or C-d
for each nested REPL instance, bringing you directly to the top-level REPL
Let me know if this works for your case
,reset seems to be a NOP (Sorry for the delay–I’m not getting notifications on replies)
I have come to accept it as an annoyance without thinking much about it. “There Has To Be A Better Way!” - Raymond Hettinger… but maybe there isn’t? I have asked the ircs://irc.libera.chat/guile channel for help now. We’ll see.
I see no one answered.