Re: debugger restarts

2016-06-20 Thread Andy Wingo
On Fri 05 Feb 2016 10:26, l...@gnu.org (Ludovic Courtès) writes: > Federico Beffa skribis: > >> I've been playing a little bit with MIT Scheme and have noticed a very >> nice feature of the debugger: when you hit an error and enter the >> debugger, it allows you to continue execution of a program

Re: debugger restarts

2016-02-05 Thread Federico Beffa
l...@gnu.org (Ludovic Courtès) writes: > Currently the behavior of ‘throw’ (in boot-9.scm) is that it always > aborts to the catch prompt and runs the ‘throw’ handler from there; the > continuation of the faulty code is not captured, and thus cannot be > resumed like MIT Scheme’s (restart 2) does:

Re: debugger restarts

2016-02-05 Thread Federico Beffa
Hi, I've prepared a start of a prototype restart library based on Taylor Campbell's proposal [1] which is itself based on the exception handling system of Common Lisp and MIT Scheme. A trivial example to show the functionality is the following definition of a toy replacement for '/' where the 'er

Re: debugger restarts

2016-02-05 Thread Ludovic Courtès
Federico Beffa skribis: > I've been playing a little bit with MIT Scheme and have noticed a very > nice feature of the debugger: when you hit an error and enter the > debugger, it allows you to continue execution of a program with a user > supplied value (restarts). > > Looking for such a feature

debugger restarts

2016-01-13 Thread Federico Beffa
Hi, I've been playing a little bit with MIT Scheme and have noticed a very nice feature of the debugger: when you hit an error and enter the debugger, it allows you to continue execution of a program with a user supplied value (restarts). Looking for such a feature in Guile I've found this old th