From: Michael Heerdegen <michael_heerdegen@web.de>
To: Zhang Haijun <ccsmile2008@outlook.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: How to stop all edebug?
Date: Wed, 23 Oct 2019 08:46:32 +0200 [thread overview]
Message-ID: <87zhhs0xiv.fsf@web.de> (raw)
In-Reply-To: <KL1PR0601MB36532871BE02956CB945EF3EA86B0@KL1PR0601MB3653.apcprd06.prod.outlook.com> (Zhang Haijun's message of "Wed, 23 Oct 2019 04:56:28 +0000")
Zhang Haijun <ccsmile2008@outlook.com> writes:
> I edebug(use edebug-defun) some functions in file.el and then close
> file.el. When I open a new file, emacs aborts and show a buffer with
> edebug error(It can’t find the original buffer to debug).
>
> And I event can’t quit emacs because there are functions in
> kill-emacs-hook which try to open file and save data(such as recentf).
>
> Is it possible to cleanup all edebug sessions?
There has been a commit to the master branch some days ago that makes
`cancel-edebug-on-entry' do that by default (confirm with an empty
prompt). If you don't use the master branch, this is the code that does
what you want:
(dolist (function (edebug--edebug-on-entry-functions))
(put function 'edebug-on-entry nil))
Michael.
next prev parent reply other threads:[~2019-10-23 6:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-23 4:56 How to stop all edebug? Zhang Haijun
2019-10-23 6:46 ` Michael Heerdegen [this message]
[not found] ` <mailman.1523.1571813205.9715.help-gnu-emacs@gnu.org>
2019-10-23 7:31 ` Lars Magne Ingebrigtsen
2019-10-24 11:09 ` Michael Heerdegen
2019-10-24 4:10 ` HaiJun Zhang
2019-10-24 11:05 ` Michael Heerdegen
2019-10-24 12:45 ` HaiJun Zhang
2019-10-24 13:13 ` Michael Heerdegen
2019-10-24 14:10 ` HaiJun Zhang
[not found] ` <70a705e7-cebf-4ac4-b7af-0fc04b383de6@Spark>
2019-10-24 13:12 ` HaiJun Zhang
2019-10-23 12:43 ` Stefan Monnier
2019-10-24 4:12 ` HaiJun Zhang
2019-10-23 15:21 ` Eli Zaretskii
2019-10-24 4:16 ` HaiJun Zhang
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=87zhhs0xiv.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=ccsmile2008@outlook.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.