[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backing out of debugger
From: |
tomas |
Subject: |
Re: backing out of debugger |
Date: |
Tue, 14 Sep 2021 15:55:59 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Sep 14, 2021 at 08:50:03AM -0400, Mortimer Cladwell wrote:
> Hi,
> Let's say I made a lot of mistakes. I look at my repl and see:
> scheme@(guile-user) [10]>
>
> Any way to back out to scheme@(guile-user)> without typing ,q ten times?
Guile tells you :)
scheme@(guile-user)> foo
;;; <stdin>:7:0: warning: possibly unbound variable `foo'
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Unbound variable: foo
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
This [1] thingy coming next is the new prompt. So typing ,q gets me out
of it:
scheme@(guile-user) [1]> ,q
scheme@(guile-user)>
I'm not deep into that, but as far as I understand, the job of this
prompt is to keep information around about what went wrong, so you
can inspect it (e.g. with ,bt).
Cheers
- t
signature.asc
Description: Digital signature
Re: backing out of debugger,
tomas <=
Re: backing out of debugger, Matt Wette, 2021/09/15