lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging/showing internal stuff?


From: Carl Sorensen
Subject: Re: Debugging/showing internal stuff?
Date: Fri, 13 Mar 2009 14:05:00 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Nicolas Sceaux <nicolas.sceaux <at> free.fr> writes:

> 
> ----- test.ly -----
> #(display (current-module))
> #(top-repl)
> -------------------
> 
> ==>
> 
> #<module 33965d0>
> guile> (current-module)
> #<directory (guile-user) 22416f0>
> guile>
> 
> So after invoking (top-repl), we are not the same module as the one
> used in the input file. That's why `parser' is not bound to an actual
> parser object. In the past (the page that was refered to was written
> at the time of LilyPond 2.5), the modules of the input files were named
> something like anonymous-ly-module-0, anonymous-ly-module-1, etc, so it
> was easy to change to the appropriate module, but that is not the case
> anymore: the modules used by input files are not named.
> 

So is it impossible now to stop in the middle of compiling an input file and
do some interactive hunting around in guile?

If this is so, what would it take to re-enable that functionality?

Thanks,

Carl









reply via email to

[Prev in Thread] Current Thread [Next in Thread]