[Top][All Lists]

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

Re: more debugging info needed.

From: Neil Jerram
Subject: Re: more debugging info needed.
Date: Tue, 03 Feb 2009 20:27:26 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Paul Emsley <address@hidden> writes:

> This is Greg's Home:


> I made some fixes that didn't make it into stable release, I get the
> fixed up Greg from here:

OK, so basically you want to modify each occurrence of the (catch ...)
pattern in ice-9/greg.scm:

- Before each (catch ...), add `(set! stack-saved? #f)'

- To each (catch ...) add a fourth parameter `lazy-handler-dispatch'

- In the handler code of each (catch ...), add something like
  `(display-backtrace (fluid-ref the-last-stack) (current-error-port)
  #f #f '())' to print out the back trace.

That's a bit messy because it reuses some of the boot-9.scm code which
is really intended for the Guile REPL.  To do something neater, you
could copy just the bits of lazy-handler-dispatch that you really


reply via email to

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