sbcl-devel

On Mon, 11 Jul 2005, G=E1bor Melis wrote:
> + (setf *debug-io* *query-io*
Why *QUERY-IO*?
I would have thought *TERMINAL-IO* to be the more natural choise, or even=
=20
a new IO-stream consed up from *STANDARD-OUTPUT* and *ERROR-OUTPUT*.
Admittedly, calling ENABLE-DEBUGGER at a place where *QUERY-IO* could=20
conceivably be rebound does sound odd, but should that happen I think
this would not be the expected behaviour.
Cheers,
-- Nikodemus Schemer: "Buddha is small, clean, and serious=
."
Lispnik: "Buddha is big, has hairy armpits, and laughs=
."

On Mon, 11 Jul 2005, G=E1bor Melis wrote:
> Does *terminal-io* or (make-synonym-stream '*terminal-io*) sound better=
?
Sounds about right to me, though I don't think there is an unambigous=20
"right" here. At least this should always give something interactive.
> I wouldn't expect disable-debugger to mess with the streams in the firs=
t
> place. Why is it necessary?
I'm not sure it is.
Cheers,
-- Nikodemus Schemer: "Buddha is small, clean, and serious=
."
Lispnik: "Buddha is big, has hairy armpits, and laughs=
."

On Monday 11 July 2005 15:32, Nikodemus Siivola wrote:
> On Mon, 11 Jul 2005, G=E1bor Melis wrote:
> > Does *terminal-io* or (make-synonym-stream '*terminal-io*) sound
>
> better?
>
> Sounds about right to me, though I don't think there is an unambigous
> "right" here. At least this should always give something interactive.
>
> > I wouldn't expect disable-debugger to mess with the streams in the
>
> first
>
> > place. Why is it necessary?
>
> I'm not sure it is.
Here is an attempt at fixing disable-debugger and the flushing of standard=
=20
streams.
* flush all standard streams before prompting in the REPL and the
debugger (???)
* prompt for restart on *debug-io*
* disable-debugger, enable-debugger don't set *debug-io* anymore
* run *invoke-debugger-hook* before *debugger-hook* =3D> if the debugger
is disabled then *debugger-hook* is not run (???)
* eof selects abort in the debugger
G=E1bor

On Friday 15 July 2005 11:02, G=C3=A1bor Melis wrote:
> Here is an attempt at fixing disable-debugger and the flushing of
> standard streams.
>
> * flush all standard streams before prompting in the REPL and the
> debugger (???)
> * prompt for restart on *debug-io*
> * disable-debugger, enable-debugger don't set *debug-io* anymore
> * run *invoke-debugger-hook* before *debugger-hook* =3D> if the debugger
> is disabled then *debugger-hook* is not run (???)
> * eof selects abort in the debugger
forgot to include tests/