[frogs] Help with the Guile debugger

[ Thread Index | Date Index | More lilynet.net/frogs Archives ]


I've got to the stage in writing code where I need
to use the Guile debugger, but I find the instructions
in the CG:

http://kainhofer.com/~lilypond/Documentation/contributor/debugging-lilypond.html#debugging-lilypond

don't work for me.  Here's what happens.

Compiling a ly program with debugging info is fine,
and after I've added \include "guile-debugger.ly"
to my test program it drops into the guile prompt
as it should.  So far so good.  But when I enter
the (break! ...) command the response is:

GNU LilyPond 2.13.10
Processing `test1.ly'
Parsing...guile> (break! tab-duration-formatter)
ERROR: Unbound variable: break!
ABORT: (unbound-variable)
guile>

But if I enter the commands contained in
guile-debugger.ly manually at the guile prompt
everything works as it should and I can set
breakpoints.

I guess I'm doing something silly or missing
something obvious, but I can't see it.  Can anyone
help?

TIA, Trevor




---
----
Join the Frogs!


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/