Re: error environment?

From: Erik Ostrom <eostrom_at_research.att.com>
Date: Thu, 31 Oct 1996 14:55:49 -0500

> Is it possible to write report-error in such a way that I go
> into a repl loop that can see the local variables in the
> environment where the error occurred? Anyone done it?

The default bug-reporter widget in STk 3.?? does just this,
if I understand you correctly. Check out the code; the key
is the primitive %get-environment-stack, which returns, yes,
a stack of environments, which can then be used in eval
statements and so on.

--Erik
Received on Thu Oct 31 1996 - 20:56:44 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST