From: dkcombs@panix.com (David Combs)
To: help-gnu-emacs@gnu.org
Subject: Re: using the debugger
Date: Sun, 24 Apr 2011 01:07:28 +0000 (UTC) [thread overview]
Message-ID: <iovt4g$s8i$1@reader1.panix.com> (raw)
In-Reply-To: mailman.3.1302286616.22287.help-gnu-emacs@gnu.org
In article <mailman.3.1302286616.22287.help-gnu-emacs@gnu.org>,
Drew Adams <drew.adams@oracle.com> wrote:
>> Just curious -- why do you prefer debug over edebug?
>
...
...
>
>---
>
>FWIW, the one improvement, in particular, that I wish someone would make to the
>debugger (the debugger I use) is to have an option to control what `d' does on a
>macro or special form call - or to provide another key, say `s', that does what
>I want.
>
>I, and I suspect most users, typically want to use `c' when I get to a macro
>call, because I don't care to drill down through the macro expansion - I trust
>it most of the time. But sometimes I don't notice in time and I hit `d'
>instead.
>
>Without such an enhancement I need to pay a little more attention, to stop
>hitting `d' and hit `c' when I get to a macro call. In particular, `dolist' and
>similar are a pain because they involve two levels of macros, for `dolist' and
>for `block'.
>
>Sure, when you catch yourself already started down the rabbit hole you can hit
>`c' and `d' a bit to recuperate, but the point is that you have to pay a little
>attention during a part of the process that should be a no-brainer (autopilot).
>
>I filed an enhancement request for this back in 2009:
>http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3466,
>but no one ever responded. Maybe someone on this list will feel like submitting
>a patch to improve the debugger this way. ;-)
>
>
Never used any emacs debugger -- but would a "backup" or "undo traversal step"
help?
Now, what it would do about variables you'd modified -- maybe it could
undo those too (one step at a time, backing up).
(Or might one or the other of the debuggers already have such
a feature?)
Looks to me like it'd be very helpful...
David
prev parent reply other threads:[~2011-04-24 1:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-08 11:18 using the debugger Eric Abrahamsen
2011-04-08 11:26 ` ken
2011-04-08 11:33 ` Eric Abrahamsen
2011-04-08 14:03 ` Drew Adams
2011-04-08 15:33 ` Eric Abrahamsen
[not found] ` <mailman.10.1302271417.11168.help-gnu-emacs@gnu.org>
2011-04-08 17:30 ` rusi
2011-04-08 18:16 ` Drew Adams
2011-04-08 22:14 ` Tim X
2011-04-09 0:39 ` Perry Smith
[not found] ` <mailman.3.1302286616.22287.help-gnu-emacs@gnu.org>
2011-04-24 1:07 ` David Combs [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='iovt4g$s8i$1@reader1.panix.com' \
--to=dkcombs@panix.com \
--cc=help-gnu-emacs@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.