From: Neil Jerram <neil@ossau.uklinux.net>
Cc: Guile Development <guile-devel@gnu.org>
Subject: Re: lazy-handler-dispatch and debug-on-error
Date: 06 Dec 2003 11:57:19 +0000 [thread overview]
Message-ID: <m3d6b22m74.fsf@laruns.ossau.uklinux.net> (raw)
In-Reply-To: <m3ptfdjzgv.fsf@laruns.ossau.uklinux.net>
>>>>> "Neil" == Neil Jerram <neil@ossau.uklinux.net> writes:
>>>>> "Mikael" == Mikael Djurfeldt <mdj@mit.edu> writes:
Mikael> The original design might have had something to do with
Mikael> being able to cut the stack at a proper level in order to
Mikael> get a nice backtrace printout. But this should have been
Mikael> solved later by the introduction of start-stack. (You
Mikael> still might want to check that stack cutting works after
Mikael> your change.)
Neil> Yes, I think I might have unintentionally broken this. I'll
Neil> investigate ...
Yes, you're quite right; my change did break this. I've undone that
change and added the following comment.
;; Note that having just
;; `lazy-handler-dispatch' here is
;; connected with the mechanism that
;; produces a nice backtrace upon
;; error. If, for example, this is
;; replaced with (lambda args (apply
;; lazy-handler-dispatch args)), the
;; stack cutting (in save-stack)
;; goes wrong and ends up saving no
;; stack at all, so there is no
;; backtrace.
lazy-handler-dispatch))
(As far as debug-on-error is concerned, I don't now think this is a
good way to implement it anyway.)
Neil
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
prev parent reply other threads:[~2003-12-06 11:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-12 23:18 lazy-handler-dispatch and debug-on-error Neil Jerram
2003-11-13 20:51 ` Marius Vollmer
2003-11-14 21:11 ` Neil Jerram
2003-11-15 0:55 ` Marius Vollmer
2003-11-17 15:02 ` Paul Jarc
2003-11-17 21:13 ` Neil Jerram
2003-11-26 17:27 ` Mikael Djurfeldt
2003-11-27 21:03 ` Neil Jerram
2003-12-06 11:57 ` Neil Jerram [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3d6b22m74.fsf@laruns.ossau.uklinux.net \
--to=neil@ossau.uklinux.net \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).