all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: HaiJun Zhang <netjune@outlook.com>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
	37899@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#37899: [feature request] Add a command to stop edebugging.
Date: Thu, 24 Oct 2019 13:15:31 +0200	[thread overview]
Message-ID: <87k18us8bw.fsf@web.de> (raw)
In-Reply-To: <PS1PR03MB360626217AE22D1BB7550822B76A0@PS1PR03MB3606.apcprd03.prod.outlook.com> (HaiJun Zhang's message of "Thu, 24 Oct 2019 04:07:53 +0000")

HaiJun Zhang <netjune@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 source buffer to debug).
>
> And I even can’t quit emacs because there are functions in
> kill-emacs-hook which try to open file and save data(such as recentf).
>
> It will be good if there is a command to stop edebugging.

And as Stefan suggested, Edebug should be smart enough to offer this to
the user by itself automatically.

In current master (cancel-edebug-on-entry nil) removes
`edebug-on-entry' on all functions, and edebug-remove-instrumentation
removes Edebug instrumentation from all functions.  Would just using
these be appropriate?


Michael.





  reply	other threads:[~2019-10-24 11:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-24  4:07 bug#37899: [feature request] Add a command to stop edebugging HaiJun Zhang
2019-10-24 11:15 ` Michael Heerdegen [this message]
2019-10-24 11:44 ` Lars Ingebrigtsen
2019-10-24 13:20   ` 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=87k18us8bw.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=37899@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=netjune@outlook.com \
    /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.