mit-scheme-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handling errors and RESTART efficiently


From: Matt Birkholz
Subject: Re: Handling errors and RESTART efficiently
Date: Wed, 18 Mar 2020 10:45:59 -0700
User-agent: Evolution 3.34.1-2

On Tue, 2020-03-17 at 13:09 -0400, Nicholas Papadonis wrote:
In Edwin when MIT Scheme encounters and error, I get an output "... (RESTART 5) .... Start debugger (y or n)".

After using "n" as input, the RESTART list continues to grow with more errors.

If you were in a tty you would get a prompt mentioning the depth of nested REPLs. In the *scheme* buffer there is no prompt, but there is an indicator in the modeline:

...(REPL: listen [level: 2])...

By saying nay you have skipped running (debug) as you would normally in a tty. After exiting the debugger you are still in the error REPL (as you would normally in a tty). Enter (restart) and you will be prompted to choose (in a tty or in *scheme*).

How do folks efficiently handle recovering from error?  Do you type "RESTART X" every time or is there some function used to make this more efficient?

Type Ctrl-C Ctrl-U to abort to the previous REPL, in a tty or in *scheme*, but never in anger. :-}


reply via email to

[Prev in Thread] Current Thread [Next in Thread]