guile-user
[Top][All Lists]
Advanced

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

Re: guile-debugger-0.2 available


From: Thomas Wawrzinek
Subject: Re: guile-debugger-0.2 available
Date: Fri, 17 Aug 2001 09:25:28 +0200 (MEST)

Hi!

 >         http://www.ossau.uklinux.net/guile/guile-debugger-0.2.tar.gz
 >
 > This release fixes the problem with `step' that Thomas reported.

Step works now, but every time I use it, I drop into the debugger upon the
next function call (and only that):

guile> (use-modules (ossau debugger))
guile> (define (f a b)
... (+ a b))
guile> (define (g a b)
... (f a b))
guile> (debugh)
This is the Guile debugger; type `help' for help.
There is 1 frame on the stack.

Frame 0:    [primitive-eval (debugh)]
debug> break-apply g
debug> quit
guile> (g 1 2)
BREAK: about to apply #<procedure g (a b)> to args (1 2) [non-tail call]
Frame 1:    [g 1 2]
debug> step 1
Frame 2:    [f 1 2]
debug> step 1
Frame 3:    [+ 1 2]
debug> step 1
3
guile> (+ 1 2)
Frame 0:    [primitive-eval (+ 1 2)]
debug> continue
3
guile> (quit)

Keep on going!

Regards,

                        Thomas



reply via email to

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