unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Christopher Allan Webber <cwebber@dustycloud.org>
Cc: 25300-done@debbugs.gnu.org
Subject: bug#25300: Trap infrastructure broken in Guile 2.2?
Date: Wed, 01 Mar 2017 16:09:48 +0100	[thread overview]
Message-ID: <87inntf2yr.fsf@pobox.com> (raw)
In-Reply-To: <874m1lgv1q.fsf@dustycloud.org> (Christopher Allan Webber's message of "Fri, 30 Dec 2016 11:56:33 -0600")

On Fri 30 Dec 2016 18:56, Christopher Allan Webber <cwebber@dustycloud.org> writes:

> Guile 2.0.13:
>
>   scheme@(guile-user)> (define (foo n)
>                          (if (= n 0)
>                              'done
>                              (foo (1- n))))
>   scheme@(guile-user)> ,tracepoint foo
>   Trap 0: Tracepoint at #<procedure foo (n)>.
>   scheme@(guile-user)> (foo 5)
>   Trap 0: (foo 5)
>   Trap 0: |  (foo 4)
>   Trap 0: |  |  (foo 3)
>   Trap 0: |  |  |  (foo 2)
>   Trap 0: |  |  |  |  (foo 1)
>   Trap 0: |  |  |  |  |  (foo 0)
>   Trap 0: |  |  |  |  |  done
>   Trap 0: |  |  |  |  done
>   Trap 0: |  |  |  done
>   Trap 0: |  |  done
>   Trap 0: |  done
>   Trap 0: done
>   $2 = done
>   scheme@(guile-user)> 
>
> Guile 2.1.5 (via guile-next in guix):
>
>   scheme@(guile-user)> (define (foo n)
>                          (if (= n 0)
>                              'done
>                              (foo (1- n))))
>   ... ... ... scheme@(guile-user)> 
>   scheme@(guile-user)> ,tracepoint foo
>   Trap 0: Tracepoint at #<procedure foo (n)>.
>   scheme@(guile-user)> (foo 30)
>   $1 = done
>
> Likewise, ,break and etc do not work for me.

Fixed in git.  Thanks for the report.

Andy





      reply	other threads:[~2017-03-01 15:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-30 17:56 bug#25300: Trap infrastructure broken in Guile 2.2? Christopher Allan Webber
2017-03-01 15:09 ` Andy Wingo [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=87inntf2yr.fsf@pobox.com \
    --to=wingo@pobox.com \
    --cc=25300-done@debbugs.gnu.org \
    --cc=cwebber@dustycloud.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).