[m-dev.] for review: uplevel printing

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Jun 18 00:22:02 AEST 1998


On 17-Jun-1998, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> 
> Allow the debugger to print the values of variables in ancestors
> of the current call. This requires knowledge about which named variables
> are live at call return sites. Providing this information properly required
> fixing the interaction of execution tracing and accurate garbage collection.
...
> compiler/globals.m:
> 	Introduce a new trace level, so that there are now four:
> 	none, interface, interface_ports (corresponding to the existing
> 	three levels) and the new level interface_ports_returns,
> 	each of which requires all the information required by lower
> 	levels.

One small comment: since the names used internally are different
than those used for the `--trace' option, it would be worth saying
in the log message what the user-visible names are.

Also the help message in options.m and the documentation in
doc/user_guide.texi should be updated to document the new
`--trace most' option (or to contain comments explaining why
it is deliberately undocumented, if that is intentional).

--
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the developers mailing list