Inline results of edebug steps
Closed this issue · 2 comments
nikolavojicic commented
It would be nice to display the results of edebug steps inline, the same way they are displayed in CIDER.
nikolavojicic commented
Easy way is via advices...
(advice-add 'edebug-safe-prin1-to-string
:before
(lambda (value)
(eros--eval-overlay
value
edebug-point)))
This works but it's probably not idiomatic.
EDIT: it doesn't work if debugger jumps into another buffer.
codeasone commented
See also: https://xenodium.com/inline-previous-result-and-why-you-should-edebug/
The advices in this post seems to work seamlessly, incl. across multiple buffers where multiple defun
's are instrumented e.g.