[frogs] Lilypond variable definitions - are they accessible from Scheme?

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


HI all,
I'm working on the Guile Debugger Stuff, and would like to try debugging a music function definition such as:
conditionalMark = #(define-music-function (parser location) ()
    #{ \tag #'instrumental-part {\mark \default}  #} )

It appears conditionalMark does not get set up as an equivalent of a Scheme
(define conditionalMark = define-music-function(parser location () ...
although something gets defined because Scheme apparently recognizes
#(set-break! conditionalMark)
    later on in the file without signalling any Guile errors.
However the breakpoint trap is never encountered as define-music-function passed things on to ly:make-music-function, which is really C++ code ly_make_music_function, so Guile never finds out about the breakpoint.

Any ideas?

Cheers,

Ian


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