guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interactive Debugging


From: Matt Wette
Subject: Re: Interactive Debugging
Date: Sat, 19 Oct 2019 12:09:34 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 10/19/19 12:04 PM, Christopher Howard wrote:
Below is something I played with years ago.  I'm not sure kill-opt is
up to date.   Try with


    > (load "jtd.scm")
    > (foo)
    [1]> ,loc
The code seems to evaluate fine, but does not produce useful results:

```
scheme@(guile-user)> ,use (potluck jtd)
scheme@(guile-user)> (foo)
scheme@(guile-user) [1]> ,loc
While executing meta-command:
Wrong type (expecting string): #f
scheme@(guile-user) [1]> ,locals
   No local variables.
```


On guile 2.2.3, ubuntu 18.04 I get this:

scheme@(guile-user)> (load "jtd.scm")
scheme@(guile-user)> (foo)
scheme@(guile-user) [1]> ,loc
      (let iter ((sum 0) (vals '(1 2 3 5 8 2)))
*       (if (zero? sum) (jump-to-debugger))
        (cond




reply via email to

[Prev in Thread] Current Thread [Next in Thread]