Function: cider--debug-lexical-eval

cider--debug-lexical-eval is a byte-compiled function defined in cider-debug.el.

Signature

(cider--debug-lexical-eval KEY FORM &optional CALLBACK POINT)

Documentation

Eval FORM in the lexical context of debug session given by KEY.

Do nothing if CALLBACK is provided. Designed to be used as cider-interactive-eval-override and called instead of cider-interactive-eval in debug sessions.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-debug.el
(defun cider--debug-lexical-eval (key form &optional callback _point)
  "Eval FORM in the lexical context of debug session given by KEY.
Do nothing if CALLBACK is provided.
Designed to be used as `cider-interactive-eval-override' and called instead
of `cider-interactive-eval' in debug sessions."
  ;; The debugger uses its own callback, so if the caller is passing a callback
  ;; we return nil and let `cider-interactive-eval' do its thing.
  (unless callback
    (cider-debug-mode-send-reply (format "{:response :eval, :code %s}" form)
                                 key)
    t))