unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guile-user@gnu.org
Subject: Re: Aborting debugger prompt
Date: Fri, 14 Oct 2011 22:09:45 +0200	[thread overview]
Message-ID: <874nzbs5bq.fsf@gnu.org> (raw)
In-Reply-To: 871uugq7y3.fsf@pobox.com

Hey!

MIT/GNU Scheme provides a very nice user interface for this:

  1 ]=> foo

  ;Unbound variable: foo
  ;To continue, call RESTART with an option number:
  ; (RESTART 3) => Specify a value to use instead of foo.
  ; (RESTART 2) => Define foo to a given value.
  ; (RESTART 1) => Return to read-eval-print level 1.

  2 error> (restart 1)

  ;Abort!

  1 ]=> (+ 2 "foo")

  ;The object "foo", passed as the second argument to integer-add, is not the correct type.
  ;To continue, call RESTART with an option number:
  ; (RESTART 2) => Specify an argument to use in its place.
  ; (RESTART 1) => Return to read-eval-print level 1.

  2 error> (restart 2)


  New argument: 3

  ;Value: 5

Ludo’.




      reply	other threads:[~2011-10-14 20:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-13 19:39 Aborting debugger prompt Tobias Gerdin
2011-10-14  0:49 ` Ian Price
2011-10-14  8:43 ` Andy Wingo
2011-10-14 20:09   ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874nzbs5bq.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).