bug-guile
[Top][All Lists]
Advanced

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

Re: Bug #1 - (debug-disable 'debug) has no effect ...


From: Neil Jerram
Subject: Re: Bug #1 - (debug-disable 'debug) has no effect ...
Date: 09 Mar 2002 16:31:28 +0000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "thi" == Thien-Thi Nguyen <address@hidden> writes:

    thi>    From: Neil Jerram <address@hidden>
    thi>    Date: 08 Mar 2002 23:53:35 +0000

    thi>    I'd say it's a bug, and that it would be better to squash it now 
than
    thi>    to support strange expectations through 1.6.x.

    thi> it's also a bug in the sense that side-effects on load (except for
    thi> `define') are usually considered antithetical to clean modular design,
    thi> especially since the module system does not (and might never) support
    thi> "instantiable modules".  this would be a good check to add to the
    thi> linter.

    thi> on the other hand, loading modules serves to extend the basic system in
    thi> other ways (e.g., syntax), so it might seem natural in a similar 
fashion
    thi> to piggyback turning on the debugging evaluator when loading (ice-9
    thi> debug).

A compromise fix would be to make (top-repl) autoload (ice-9 debug)
rather than using it directly.  Then the loading of (ice-9 debug)
would turn on debugging the first time that someone uses `trace',
which is quite intuitive.

        Neil




reply via email to

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