[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37899: [feature request] Add a command to stop edebugging.
From: |
Michael Heerdegen |
Subject: |
bug#37899: [feature request] Add a command to stop edebugging. |
Date: |
Thu, 24 Oct 2019 13:15:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
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.