Function: cider-inspect-expr

cider-inspect-expr is an autoloaded, interactive and byte-compiled function defined in cider-inspector.el.

Signature

(cider-inspect-expr EXPR NS)

Documentation

Evaluate EXPR in NS and inspect its value.

Interactively, EXPR is read from the minibuffer, and NS the current buffer's namespace.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-inspector.el
;; Operations
;;;###autoload
(defun cider-inspect-expr (expr ns)
  "Evaluate EXPR in NS and inspect its value.
Interactively, EXPR is read from the minibuffer, and NS the
current buffer's namespace."
  (interactive (list (cider-read-from-minibuffer "Inspect expression: " (cider-sexp-at-point))
                     (cider-current-ns)))
  (let ((result (cider-sync-request:inspect-expr expr ns)))
    (when (nrepl-dict-get result "value")
      (setq cider-inspector-location-stack nil)
      (cider-inspector--render-value result :next-inspectable))))