Variable: cider--debug-commands

cider--debug-commands is a variable defined in cider-debug.el.

Value

((110 cider-debug-next "Next step" stepping)
 (105 cider-debug-in "Step in" stepping)
 (111 cider-debug-out "Step out" stepping)
 (79 cider-debug-force-out "Step out (skip breakpoints)" stepping)
 (104 cider-debug-move-here "Continue to point" stepping)
 (99 cider-debug-continue "Continue" stepping)
 (67 cider-debug-continue-all "Continue non-stop" stepping)
 (101 cider-debug-eval "Eval in debug scope" values)
 (106 cider-debug-inject "Inject value" values)
 (112 cider-debug-inspect "Inspect current value" values)
 (80 cider-debug-inspect-expr "Inspect expression" values)
 (108 cider-debug-locals "Inspect locals" values)
 (76 cider-debug-toggle-locals "Toggle locals display" values)
 (115 cider-debug-stacktrace "Show stacktrace" session)
 (116 cider-debug-trace "Trace (continue, printing values)" session)
 (113 cider-debug-quit "Quit session" session))

Documentation

Catalog of the debugger's user-facing commands.

Each entry is (KEY FUNCTION DESCRIPTION GROUP), where KEY is the character that invokes FUNCTION during a session, DESCRIPTION is the label shown in the menus, and GROUP is one of stepping, values(var)/values(fun), or session.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260821.817/cider-debug.el
;; The command catalog is the single source of truth for both the menu-bar
;; menu (`cider-debug-mode-menu') and the transient menu (`cider-debug-menu'),
;; so the two can no longer drift apart.  It is wrapped in `eval-and-compile'
;; because the transient prefix is generated from it at macroexpansion time.
(eval-and-compile
  (defconst cider--debug-commands
    '((?n cider-debug-next         "Next step"                         stepping)
      (?i cider-debug-in           "Step in"                           stepping)
      (?o cider-debug-out          "Step out"                          stepping)
      (?O cider-debug-force-out    "Step out (skip breakpoints)"       stepping)
      (?h cider-debug-move-here    "Continue to point"                 stepping)
      (?c cider-debug-continue     "Continue"                          stepping)
      (?C cider-debug-continue-all "Continue non-stop"                 stepping)
      (?e cider-debug-eval         "Eval in debug scope"               values)
      (?j cider-debug-inject       "Inject value"                      values)
      (?p cider-debug-inspect      "Inspect current value"             values)
      (?P cider-debug-inspect-expr "Inspect expression"                values)
      (?l cider-debug-locals       "Inspect locals"                    values)
      (?L cider-debug-toggle-locals "Toggle locals display"            values)
      (?s cider-debug-stacktrace   "Show stacktrace"                   session)
      (?t cider-debug-trace        "Trace (continue, printing values)" session)
      (?q cider-debug-quit         "Quit session"                      session))
    "Catalog of the debugger's user-facing commands.
Each entry is (KEY FUNCTION DESCRIPTION GROUP), where KEY is the character
that invokes FUNCTION during a session, DESCRIPTION is the label shown in
the menus, and GROUP is one of `stepping', `values', or `session'.")

  (defun cider--debug-commands-in-group (group)
    "Return the `cider--debug-commands' entries belonging to GROUP."
    (seq-filter (pcase-lambda (`(,_key ,_fn ,_desc ,g)) (eq g group))
                cider--debug-commands)))