I would like to watch the value of s-expression while debugging a function with
This can be done manually by calling the function
edebug-visit-eval-list, pasting the s-exp there, calling
edebug-update-eval-list and then calling
edebug-where to go back to the source code.
I need help writing a function "watch-variable-at-point-in-edebug-eval" with the following behaviour
- While in a dedbug session, append the sexp at point in the buffer called
edebug-update-eval-liston the variable
edebug-whereto place the cursur back into the original window
- Bind the function to a key in the edebug-minor-mode keymap
Does this functionality come with a package? I would appreciate help in writing the function.