On Sun, Jan 3, 2010 at 10:00 PM, Carl Sorensen <[email protected]> wrote: >> 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)
you can see the defintion by doing #(display conditionalMark) inside the .ly file. The breakpoint failing may have to do with the call sequence. See parser.yy, run_music_function(). The function is called directly from C++, without going through the GUILE evaluator, so I think that is why there is no debugger trap. -- Han-Wen Nienhuys - [email protected] - http://www.xs4all.nl/~hanwen _______________________________________________ lilypond-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-devel
