Function: cider-debug-mode-send-reply

cider-debug-mode-send-reply is an interactive and byte-compiled function defined in cider-debug.el.

Signature

(cider-debug-mode-send-reply COMMAND &optional KEY FORCE)

Documentation

Reply to the message that started current buffer's debugging session.

COMMAND is sent as the input option. KEY can be provided to reply to a specific message. If FORCE is non-nil, send a "force?" argument in the message.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-debug.el
(defun cider-debug-mode-send-reply (command &optional key force)
  "Reply to the message that started current buffer's debugging session.
COMMAND is sent as the input option.  KEY can be provided to reply to a
specific message.  If FORCE is non-nil, send a \"force?\" argument in the
message."
  (interactive (list
                (if (symbolp last-command-event)
                    (symbol-name last-command-event)
                  (ignore-errors
                    (concat ":" (cadr (assoc last-command-event cider-debug-prompt-commands)))))
                nil
                (cider--uppercase-command-p)))
  (let ((quit-p (member command '(nil ":quit"))))
    (when (and (string-prefix-p ":" command) force)
      (setq command (format "{:response %s :force? true}" command)))
    (cider-nrepl-send-unhandled-request
     `("op" "cider/debug-input"
       "input" ,(or command ":quit")
       "key" ,(or key (nrepl-dict-get cider--debug-mode-response "key"))))
    (ignore-errors (cider--debug-mode -1))
    (when quit-p
      (cider--debug-restore-origin))))