[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scheme debugging error
From: |
David Kastrup |
Subject: |
Re: scheme debugging error |
Date: |
Fri, 18 Jan 2013 17:42:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Ian Hulin <address@hidden> writes:
> Hi Marco,
> The scheme debugger was one of the first things I tried when I got
> involved with LilyPond and always has been rather temperamental in the
> way it behaved. With help from some of the other LilyPond developers
> we were able to get it working and document it in the CG but there
> have been several problems with using it.
>
> * There has been a major on-going release of Guile, the dialect of
> scheme LilyPond uses. As part of this release, the scheme debug
> interface and API was completely re-written.
>
> * I was hoping to complete the upgrade so LilyPond could use the new
> Guile V2, but lots of things, including me getting sick, have got in
> the way. I am still working on this however.
>
> ** Some of the things getting in the way were also really cool, useful
> stuff on the LilyPond side.
>
> * One of the things I remember from when I looked at this was that
> LilyPond would need to patch the Guile/Scheme procedure that kicked
> off the REPL (the interactive scheme command line) to execute a
> repl-hook, by which we could make all the LilyPond scheme-level
> available to the REPL, including all the debug stuff.
Please look at scheme-sandbox.ly and its description in the Extending
manual
<URL:http://lilypond.org/doc/v2.16/Documentation/extending/scheme-sandbox>
which makes "all the LilyPond scheme-level available to the REPL".
--
David Kastrup