bug-lilypond
[Top][All Lists]
Advanced

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

Re: [frogs] Help with the Guile debugger


From: Carl Sorensen
Subject: Re: [frogs] Help with the Guile debugger
Date: Sun, 27 Dec 2009 22:37:30 -0700



On 12/27/09 10:09 AM, "Ian Hulin" <address@hidden> wrote:

> Hi Trevor,
> 
> On 18/12/09 00:35, Trevor Daniels wrote:
>> 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.h>>
t
>> ml#debugging-lilypond
>>  
>> don't work for me.  Here's what happens.
>>  
>>  
>> I guess I'm doing something silly or missing
>> something obvious, but I can't see it.  Can anyone
>> help? 
>>  
>> TIA, Trevor 
>>  
>>  
> 1) Can reproduce your findings
> 2) I'm investigating
> 3) I'm looking at a 0.2 of this using a module in scm
> 
> This would mean you could do
> <In file your-source.ly>
> lily code
> \include "guile-debugger.ly"
> 
> <In file your-scheme.scm>
> #(set-break! your-procedure)
> #(set-trace-subtree! your-procedure
> scheme code
> 
> 
> Then you'd do
> 
> $ lilypond your-source.ly
> Parsing...
> guile> (quit)
> This is the Guile debugger -- for help, type `help'.
> There are nn frames on the stack.
> 
> Frame nn at your-source.ly:xx:y
>         [your-procedure args]
> debug>
> 
> Please could you log a tracker (or ask Valentin to do it) so we can log that
> I'm working on this?

Very cool, Ian.

I've copied to bug-lilypond, so it should get a tracker.

Thanks,

Carl





reply via email to

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