unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Ricardo G. Herdt" <r.herdt@posteo.de>
To: guile-user <guile-user@gnu.org>
Subject: Re: Python's pdb module
Date: Fri, 30 Apr 2021 11:42:38 +0000	[thread overview]
Message-ID: <f38ef937e189405dc3995b7fc07355ab@posteo.de> (raw)
In-Reply-To: <CACgrOxJRqTRjsAoJ1kQizx3=xC_AX5kxa2-DvzygmMhzCaeqqw@mail.gmail.com>

Hi Tim,

Am 30.04.2021 05:26 schrieb Tim Meehan:
> Is there something in Guile that is similar to Python's "pdb" module?
> For instance, sometimes I find it helpful to pause right before 
> something
> bad happens with:

you can use the debugging features of the REPL. See:
,help debug

Example:
,break some-function-that-is-going-to-fail-miserably

Related to ,break is ,break-at-source, where you can give the line 
number where you want to stop.

You may also find ",trace" useful, it shows all calls to a given 
function.

Best,

Ricardo



  reply	other threads:[~2021-04-30 11:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-30  3:26 Python's pdb module Tim Meehan
2021-04-30 11:42 ` Ricardo G. Herdt [this message]
2021-04-30 13:20 ` Matt Wette
2021-05-01  3:00   ` Tim Meehan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f38ef937e189405dc3995b7fc07355ab@posteo.de \
    --to=r.herdt@posteo.de \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).