From: Tassilo Horn <tsdh@gnu.org>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Standard Elisp debugger vs. Edebug
Date: Wed, 06 May 2015 08:14:24 +0200 [thread overview]
Message-ID: <87fv7acjwf.fsf@gnu.org> (raw)
In-Reply-To: <874mnqofox.fsf@mbork.pl> (Marcin Borkowski's message of "Tue, 05 May 2015 23:52:14 +0200")
Marcin Borkowski <mbork@mbork.pl> writes:
Hi Marcin,
> there are two Elisp debuggers built into Emacs: the "standard"
> debugger and Edebug.
>
> Edebug seems more powerful and easier to use.
>
> The obvious question arises: is there any reason to use the standard
> debugger at all?
Yes, totally! The standard debugger just works whereas with edebug you
already need to know which function(s) you are interested to debug and
then instrument them. So I usually set `debug-on-error' or
`debug-on-quit' to be put in the standard debugger in case of an error
or quit/C-g (when debugging inf-loops or too long computation times).
From the backtrace I get then, I can narrow down the relevant functions
and then edebug them. (Well, with some kinds of errors like wrong
number of args, there's even no need for edebugging anymore.)
Bye,
Tassilo
next prev parent reply other threads:[~2015-05-06 6:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-05 21:52 Standard Elisp debugger vs. Edebug Marcin Borkowski
2015-05-05 22:13 ` Stefan Monnier
2015-05-06 6:14 ` Tassilo Horn [this message]
2015-05-06 8:38 ` Nicolas Richard
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=87fv7acjwf.fsf@gnu.org \
--to=tsdh@gnu.org \
--cc=help-gnu-emacs@gnu.org \
--cc=mbork@mbork.pl \
/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.