[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using gdb with lilypond
From: |
Jan Nieuwenhuizen |
Subject: |
Re: Using gdb with lilypond |
Date: |
Sun, 04 Jul 2004 11:07:19 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
Carl Sorensen writes:
> I'm ready to start work on developing a fret-diagrams context and
> engraver.
Great.
> So I rebuild lilypond, starting
> with
> ./autogen.sh --enable-debugging
>
> make all
This is OK.
> make install
This will strip the (debugging) symbols. You should be using
lily/out/lilypond-bin, unstripped, are you doing that?
> I tried to execute lilypond to see if it would work.
>
> (gdb) run fret-diagram.ly
> Parsing...
> Interpreting music... error: can't find `feta20.afm'
> Fonts have not been installed properly. Aborting
Which simply means that LilyPond cannot find /usr/share/lilypond/xyz/afm
> So I can't figure out how to execute lilypond under gdb so I can set
> breakpoints, examine source, examine variables, single step, etc.
Running in gdb is exactly the same as running without gdb. Just make
sure lily ca find the necessary files.
For developing, you can run lilypond without installing
./configure --prefix=$(pwd) --enable-debugging
make
gdb ./lily/out/lilypond-bin
Jan.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org