Function: cider-tap-inspect-at-point

cider-tap-inspect-at-point is an interactive and byte-compiled function defined in cider-tap.el.

Signature

(cider-tap-inspect-at-point)

Documentation

Open the tapped value on the current line in the inspector.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-tap.el
(defun cider-tap-inspect-at-point ()
  "Open the tapped value on the current line in the inspector."
  (interactive)
  (let ((idx (get-text-property (point) 'cider-tap-idx)))
    (cond
     (idx
      (let ((result (cider-nrepl-sync-request
                     (list "op" "cider/tap-inspect" "idx" (number-to-string idx))
                     :connection cider-tap--repl)))
        (if (nrepl-dict-get result "value")
            (progn
              (setq cider-inspector-location-stack nil)
              (cider-inspector--render-value result :next-inspectable))
          (user-error "That tapped value is no longer retained"))))
     ((get-text-property (point) 'cider-tap-entry)
      (user-error "ClojureScript tapped values can't be inspected yet"))
     (t
      (user-error "No tapped value on this line")))))