]> git.donarmstrong.com Git - lilypond.git/commit
GUILE debug: Revert part of 52bea08ef73a55ee, so the file of an error is shown
authorReinhold Kainhofer <reinhold@kainhofer.com>
Thu, 4 Aug 2011 14:11:00 +0000 (16:11 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Wed, 10 Aug 2011 16:57:34 +0000 (18:57 +0200)
commit2a42ed162649920caf54eaee1f41563ecfe3b4e2
tree6952cbdcb40671fedc2e72a665d12a2121d9a1d2
parente9c336c48b20b2cc6503272dbe24d9044bea4a6e
GUILE debug: Revert part of 52bea08ef73a55ee, so the file of an error is shown

When debug is set to #f, a guile error, like for example (cdr '()) will only
show the error message itself, but no indication whatsoever where the error
occured. This makes debugging scheme bugs in our lilypond code basically
impossible.

This patch properly fixes the debug settings, by either setting 'debug for
guile <2.0 or setting the finer-grained debug options for guile >=2.0.

That's also the correct fix that Ian Hulin suggest in a private mail.

Not tested with guile 2.0, though.
scm/lily.scm