* bug#15843: 24.3.50; Edebug feature request
@ 2013-11-09 21:41 Nathan Trapuzzano
2013-11-11 4:58 ` Stefan Monnier
2019-10-20 9:16 ` Lars Ingebrigtsen
0 siblings, 2 replies; 7+ messages in thread
From: Nathan Trapuzzano @ 2013-11-09 21:41 UTC (permalink / raw)
To: 15843
Edebug would benefit from something like debug.el's
`cancel-debug-on-entry'. Especially after stepping through large
functions and into other functions therefrom, it's annoying to have to
manually re-eval them to remove the extra forms added by Edebug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#15843: 24.3.50; Edebug feature request
2013-11-09 21:41 bug#15843: 24.3.50; Edebug feature request Nathan Trapuzzano
@ 2013-11-11 4:58 ` Stefan Monnier
2013-11-11 11:02 ` Nathan Trapuzzano
2019-10-20 9:16 ` Lars Ingebrigtsen
1 sibling, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2013-11-11 4:58 UTC (permalink / raw)
To: Nathan Trapuzzano; +Cc: 15843
> Edebug would benefit from something like debug.el's
> `cancel-debug-on-entry'. Especially after stepping through large
> functions and into other functions therefrom, it's annoying to have to
> manually re-eval them to remove the extra forms added by Edebug.
Patch welcome, tho usually I just use `C-M-x c'.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#15843: 24.3.50; Edebug feature request
2013-11-11 4:58 ` Stefan Monnier
@ 2013-11-11 11:02 ` Nathan Trapuzzano
2013-11-11 13:37 ` Stefan Monnier
0 siblings, 1 reply; 7+ messages in thread
From: Nathan Trapuzzano @ 2013-11-11 11:02 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 15843
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> `C-M-x c'.
You mean just `C-M-x'?
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#15843: 24.3.50; Edebug feature request
2013-11-11 11:02 ` Nathan Trapuzzano
@ 2013-11-11 13:37 ` Stefan Monnier
2013-11-11 13:41 ` Nathan Trapuzzano
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2013-11-11 13:37 UTC (permalink / raw)
To: Nathan Trapuzzano; +Cc: 15843
>> `C-M-x c'.
> You mean just `C-M-x'?
No: C-M-x "de-edebugs" the function, but I need a subsequent `c' to
continue the execution that was interrupted where I didn't want it.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#15843: 24.3.50; Edebug feature request
2013-11-11 13:37 ` Stefan Monnier
@ 2013-11-11 13:41 ` Nathan Trapuzzano
0 siblings, 0 replies; 7+ messages in thread
From: Nathan Trapuzzano @ 2013-11-11 13:41 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 15843
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> No: C-M-x "de-edebugs" the function, but I need a subsequent `c' to
> continue the execution that was interrupted where I didn't want it.
Oh yeah, that's what I do to.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#15843: 24.3.50; Edebug feature request
2013-11-09 21:41 bug#15843: 24.3.50; Edebug feature request Nathan Trapuzzano
2013-11-11 4:58 ` Stefan Monnier
@ 2019-10-20 9:16 ` Lars Ingebrigtsen
2019-10-20 9:30 ` Lars Ingebrigtsen
1 sibling, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-20 9:16 UTC (permalink / raw)
To: Nathan Trapuzzano; +Cc: 15843
Nathan Trapuzzano <nbtrap@nbtrap.com> writes:
> Edebug would benefit from something like debug.el's
> `cancel-debug-on-entry'. Especially after stepping through large
> functions and into other functions therefrom, it's annoying to have to
> manually re-eval them to remove the extra forms added by Edebug.
I think this sounds like a useful command -- I often find myself having
edebug-instrumented a whole bunch of functions, and having to manually
re-eval all of them is tedious.
So a command like `edebug-cancel-all-functions' would be nice, and I
looked into the bowels of edebug.el to see whether that would be
easy... and... I think so?
I think we basically have to go through all the symbols and see whether
any of those are edebugged, and if so, call `edebug-unwrap*' on them and
set the function definition to that?
Or is there a better way?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#15843: 24.3.50; Edebug feature request
2019-10-20 9:16 ` Lars Ingebrigtsen
@ 2019-10-20 9:30 ` Lars Ingebrigtsen
0 siblings, 0 replies; 7+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-20 9:30 UTC (permalink / raw)
To: Nathan Trapuzzano; +Cc: 15843
Lars Ingebrigtsen <larsi@gnus.org> writes:
> I think we basically have to go through all the symbols and see whether
> any of those are edebugged, and if so, call `edebug-unwrap*' on them and
> set the function definition to that?
I wrote a function like that just to test, and to my surprise, it seems
to work in the test cases I had, so I installed it.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-10-20 9:30 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-09 21:41 bug#15843: 24.3.50; Edebug feature request Nathan Trapuzzano
2013-11-11 4:58 ` Stefan Monnier
2013-11-11 11:02 ` Nathan Trapuzzano
2013-11-11 13:37 ` Stefan Monnier
2013-11-11 13:41 ` Nathan Trapuzzano
2019-10-20 9:16 ` Lars Ingebrigtsen
2019-10-20 9:30 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).