unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
Subject: Re: reporting 'system-error informatively
Date: Mon, 21 Oct 2002 02:13:30 -0400	[thread overview]
Message-ID: <m33cr08gkf.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <87r8ekx03e.fsf@zagadka.ping.de> (Marius Vollmer's message of "20 Oct 2002 23:38:13 +0200")

Marius Vollmer <mvo@zagadka.ping.de> wrote:
>         (define (handle-error key args)
>           (let ((text (call-with-output-string
>                        (lambda (cep)
>                          (if the-last-stack
>                              (display-backtrace the-last-stack cep)
>                              (display "no backtrace available.\n" cep))

It seems this would still require parsing.  Is there any way to get
the arguments themselves, as plain Scheme values instead of text?
frame-arguments sounds promising; I'm just not sure how to use it.  I
tried this:
(make-stack (call-with-current-continuation identity))
But got a segfault.  Dunno if that was supposed to do anything useful;
I was just messing around.


paul


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


  parent reply	other threads:[~2002-10-21  6:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-19 21:18 reporting 'system-error informatively Paul Jarc
2002-10-20 21:38 ` Marius Vollmer
2002-10-20 23:02   ` Daniel Skarda
2002-10-21 14:46     ` Marius Vollmer
2002-10-21  6:13   ` Paul Jarc [this message]
2002-10-21 14:45     ` Marius Vollmer
2002-10-21 18:36       ` Paul Jarc
2002-10-21 18:55       ` Neil Jerram

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=m33cr08gkf.fsf@multivac.cwru.edu \
    --to=prj@po.cwru.edu \
    /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).