* bug#25300: Trap infrastructure broken in Guile 2.2?
@ 2016-12-30 17:56 Christopher Allan Webber
2017-03-01 15:09 ` Andy Wingo
0 siblings, 1 reply; 2+ messages in thread
From: Christopher Allan Webber @ 2016-12-30 17:56 UTC (permalink / raw)
To: 25300
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#25300: Trap infrastructure broken in Guile 2.2?
2016-12-30 17:56 bug#25300: Trap infrastructure broken in Guile 2.2? Christopher Allan Webber
@ 2017-03-01 15:09 ` Andy Wingo
0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2017-03-01 15:09 UTC (permalink / raw)
To: Christopher Allan Webber; +Cc: 25300-done
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-01 15:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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).