aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJens Schmidt2025-08-21 20:58:42 +0200
committerEli Zaretskii2025-08-30 12:30:21 +0300
commitfdc6bb2caf959ceafd1c516f4f7a0687eb292ea4 (patch)
tree5bdf9f3b52ffac118c3865bc2e16b07431e13583 /src
parent34f3ac6c5b98d79e51bd9bbaf3c5bd89b2faaba3 (diff)
downloademacs-fdc6bb2caf959ceafd1c516f4f7a0687eb292ea4.tar.gz
emacs-fdc6bb2caf959ceafd1c516f4f7a0687eb292ea4.zip
Add edebug-bounce-to-previous-value
Command edebug-bounce-to-previous-value uses the previous value observed while single-stepping or evaluating an expression to bounce point in the outside current buffer to the buffer position corresponding to that value. * lisp/emacs-lisp/edebug.el (edebug-previous-value): Add variable. (edebug-compute-previous-result, edebug-eval-expression): Update it. (edebug-bounce-to-previous-value): Add command. (edebug-mode-map): Add keybinding for the new command, replacing the binding of "P" to edebug-view-outside. (edebug-mode-menus): Add menu entry for the new command. * doc/lispref/edebug.texi (Edebug Views): Add documentation. * test/lisp/emacs-lisp/edebug-resources/edebug-test-code.el (edebug-test-code-bounce-point): Add test code. * test/lisp/emacs-lisp/edebug-tests.el (edebug-tests-bounce-outside-buffer) (edebug-tests-bounce-outside-point) (edebug-tests-bounce-outside-mark) (edebug-tests-bounce-record-outside-environment) (edebug-tests-should-have-bounced-to): Add infrastructure to test bounces. (edebug-tests-check-keymap): Update tests to new key bindings. (edebug-tests-bounce-point) (edebug-tests-bounce-to-previous-value) (edebug-tests-bounce-to-previous-non-position): Add tests. (edebug-tests-evaluation-of-current-buffer-bug-19611): Clean up side effects. (Bug#79288)
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions