I've been able to do this before, but I can't remember the 'recipe' of sorts.
Say I've got the following function:
(defun fancy-stuff ()
(with-current-buffer (get-crazy-process-output)
(do-crazy-post-process)))
I want to debug the crazy post-processing and be able to see where/when it moves point in that buffer.
I've of course instrumented do-crazy-post-process
with edebug-defun
, but when I step through the code, I have no visual indication of how point is moving in the temporary buffer.
M-x debug-on-entry do-crazy-post-process
? What did you try? The question might be clearer if you described what you tried.