Function: cider--debug-remember-origin

cider--debug-remember-origin is a byte-compiled function defined in cider-debug.el.

Signature

(cider--debug-remember-origin ID)

Documentation

Remember point as the origin of the debug session identified by ID.

Only the first step of a session (the first with a given "original-id" ID) is remembered, so that stepping through the code doesn't overwrite the location the session was started from.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-debug.el
(defun cider--debug-remember-origin (id)
  "Remember point as the origin of the debug session identified by ID.
Only the first step of a session (the first with a given \"original-id\"
ID) is remembered, so that stepping through the code doesn't overwrite
the location the session was started from."
  (unless (equal id cider--debug-origin-id)
    (setq cider--debug-origin-id id
          cider--debug-origin-marker (point-marker))))