unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* breakpoints at the repl
@ 2010-09-19  9:32 Andy Wingo
  2010-09-19 10:23 ` Neil Jerram
  2010-09-19 20:46 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Andy Wingo @ 2010-09-19  9:32 UTC (permalink / raw)
  To: guile-devel

Hi all,

We have breakpoints now:

    scheme@(guile-user)> (define (foo) "hello!")
    scheme@(guile-user)> ,break foo
    Added breakpoint 0 at #<procedure foo ()>.
    scheme@(guile-user)> (foo)
    Trap 0: breakpoint at #<procedure foo ()>
    Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
    scheme@(guile-user) [1]> 
    $1 = "hello!"
    scheme@(guile-user)> ,traps
      0: breakpoint at #<procedure foo ()>
    scheme@(guile-user)> ,disable 0
    scheme@(guile-user)> (foo)
    $2 = "hello!"
    scheme@(guile-user)> ,enable 0
    scheme@(guile-user)> (foo)
    Trap 0: breakpoint at #<procedure foo ()>
    Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
    scheme@(guile-user) [1]> ,bt
    In current input:
          0:0  0 (foo)
    scheme@(guile-user) [1]> 
    $3 = "hello!"
    scheme@(guile-user)> ,delete 0
    scheme@(guile-user)> (foo)
    $4 = "hello!"

It's still pretty primitive, but we're getting there.

Happy hacking,

Andy
-- 
http://wingolog.org/



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: breakpoints at the repl
  2010-09-19  9:32 breakpoints at the repl Andy Wingo
@ 2010-09-19 10:23 ` Neil Jerram
  2010-09-19 20:46 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Neil Jerram @ 2010-09-19 10:23 UTC (permalink / raw)
  To: Andy Wingo; +Cc: guile-devel

Andy Wingo <wingo@pobox.com> writes:

> Hi all,
>
> We have breakpoints now:

Nice!

        Neil



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: breakpoints at the repl
  2010-09-19  9:32 breakpoints at the repl Andy Wingo
  2010-09-19 10:23 ` Neil Jerram
@ 2010-09-19 20:46 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2010-09-19 20:46 UTC (permalink / raw)
  To: guile-devel

Hello!

Andy Wingo <wingo@pobox.com> writes:

> We have breakpoints now:

That’s excitingly cool, thank you!

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-19 20:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-19  9:32 breakpoints at the repl Andy Wingo
2010-09-19 10:23 ` Neil Jerram
2010-09-19 20:46 ` Ludovic Courtès

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).