all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: Making debugging possible on expressions executed from ielm
Date: Sat, 20 Jan 2018 12:55:18 -0500	[thread overview]
Message-ID: <jwvtvvg8lm5.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: CAO_X8WATaofe3U0Z-7Lmud_5RDXue6W97chgwtSbMeUO1_uMmQ@mail.gmail.com

> I did not know about condition-case-unless-debug, it indeed does make
> debugging possible with a simpler change and without any side effects.
> I attach the patch.

Thanks.  I installed it, but not the part that surrounds reading and
pretty printing: these would be used to debug IELM itself rather than
the code provided by the user to ielm.

I'm not 100% opposed to it, but at least my experience with debugging
errors in the printer leads me to think that such errors are hard to
debug in the debugger anyway (because they also affect the debugger), so
I went with a more conservative patch which only changes the part which
I positively know is useful (because I've been using a similar tho more
convoluted patch for years (had completely forgotten about it)).


        Stefan




      parent reply	other threads:[~2018-01-20 17:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-13  9:22 Making debugging possible on expressions executed from ielm Jarosław Rzeszótko
2018-01-15 17:23 ` Stefan Monnier
2018-01-15 19:22 ` Jarosław Rzeszótko
2018-01-15 21:59   ` Stefan Monnier
2018-01-16  6:42     ` Jarosław Rzeszótko
2018-01-19 19:14   ` Jarosław Rzeszótko
2018-01-19 19:58     ` Eli Zaretskii
2018-01-20 17:55   ` Stefan Monnier [this message]

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

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

  git send-email \
    --in-reply-to=jwvtvvg8lm5.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.