From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.lisp.guile.user Subject: Re: backing out of debugger Date: Tue, 14 Sep 2021 15:55:59 +0200 Message-ID: <20210914135559.GA14713@tuxteam.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3520"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.5.21 (2010-09-15) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Sep 14 15:58:20 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQ8x2-0000ij-7e for guile-user@m.gmane-mx.org; Tue, 14 Sep 2021 15:58:20 +0200 Original-Received: from localhost ([::1]:36494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQ8x1-00030l-7N for guile-user@m.gmane-mx.org; Tue, 14 Sep 2021 09:58:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQ8uw-0007fm-7t for guile-user@gnu.org; Tue, 14 Sep 2021 09:56:10 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:43497) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1mQ8uu-0001yP-4m for guile-user@gnu.org; Tue, 14 Sep 2021 09:56:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=/Y8LT1qZHoeqt6Otxc4LmEH6Y1e9TVC/C4g9qtg59vA=; b=JSOZVnh21P++6XlcUwTmcB7jw2B1UPP7YXbz9kKIzZpmI6N7cNtnJnws6oQxUSgZdKHT6ZBwDtI1/lpXVE9yZY5obHmXoojYaB+csAfeFgdPwONT/NjIkAFN4ScuBaPNj4NuiZZSae5NH0NiVNGjTDFoQFwseFvnGpv1yeEqxLaXdG1tMkzW6sYSRJhNSfkGKCiCLLNsHQCIJFVIaUuo5KRczYc9TPjc3mBz5ruRiw3VDU7KH3jjgSK8EekCErqsw5cSIfuU0ang6Lj1dlUB3zSuWRtcFzhWXN2De4fxhYK2h+FJYlyc3VwFvVzatDCxzbEWOll0LMv+p8L24F4s2A==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1mQ8ul-00055r-S2 for guile-user@gnu.org; Tue, 14 Sep 2021 15:55:59 +0200 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17736 Archived-At: --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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]> >=20 > Any way to back out to scheme@(guile-user)> without typing ,q ten times? Guile tells you :) scheme@(guile-user)> foo ;;; :7:0: warning: possibly unbound variable `foo' ice-9/boot-9.scm:1685:16: In procedure raise-exception: Unbound variable: foo =20 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 --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAmFAqe8ACgkQBcgs9XrR2kbcGwCfT7J+9KmpjmCO0J9dfl5M0Cav 9zEAn2WucVv1rYIocRATQ6gdHJj6Ey7O =gCjx -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--