Re: How to escape from debugger loop if *STANDARD-INPUT* is redirected?

Josef Wolf <[email protected]> Fri, 14 Feb 2025 17:05:03 +0100
Newsgroups gmane.lisp.steel-bank.general
Message-ID <[email protected]>
Thanks for the help, Douglas!

On Fri, Feb 14, 2025 at 09:02:17AM -0500, Douglas Katzman wrote:
> I would imagine you want to just disable the debugger for any SBCL used in
> a pipeline, no?
> You can use --disable-debugger on the command-line or (disable-debugger) in
> a script to do that

I think I'll use

    (unless (interactive-stream-p *standard-input*)
          (disable-debugger))

although inserting this into every script seems to be somewhat tedious..

I'm not sure I understand the point of running a debugger from a pipe. Is this needed
for slime or somethin?

-- 
Josef Wolf
[email protected]