Subject: bug#25300: closed (Re: bug#25300: Trap infrastructure broken in Guile 2.2?)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 01 Mar 2017 15:10:02 +0000

Your bug report

#25300: Trap infrastructure broken in Guile 2.2?

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
25300: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25300
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#25300: Trap infrastructure broken in Guile 2.2?
From: Andy Wingo <[email-masked]>
To: Christopher Allan Webber <[email-masked]>
Cc: [email-masked]
Date: Wed, 01 Mar 2017 16:09:48 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

On Fri 30 Dec 2016 18:56, Christopher Allan Webber <[email-masked]> 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

Subject: Trap infrastructure broken in Guile 2.2?
From: Christopher Allan Webber <[email-masked]>
To: [email-masked]
Date: Fri, 30 Dec 2016 11:56:33 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

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.