Function: dape-repl-threads
dape-repl-threads is a natively compiled function defined in dape.el.
Signature
(dape-repl-threads &optional INDEX)
Documentation
List threads in REPL buffer.
If INDEX is non-nil parse into number and select n+1th thread.
Source Code
;; Defined in /nix/store/1fiaif8pifqj2jh65rbg3fkhg3i56q42-emacs-packages-deps/share/emacs/site-lisp/elpa/dape-0.27.1/dape.el
(defun dape-repl-threads (&optional index)
"List threads in REPL buffer.
If INDEX is non-nil parse into number and select n+1th thread."
(when-let* ((index (and index (string-to-number index))))
(cl-loop with n = 0 for conn in (dape--live-connections)
for thread = (cl-loop for thread in (dape--threads conn)
when (equal (cl-incf n) index) return thread)
when thread return (dape-select-thread conn (plist-get thread :id))))
(dape--repl-insert-info-buffer 'dape-info-threads-mode))