Function: dape-repl-stack
dape-repl-stack is a natively compiled function defined in dape.el.
Signature
(dape-repl-stack &optional INDEX)
Documentation
List modules in REPL buffer.
If INDEX is non-nil parse into number and select n+1th stack.
Source Code
;; Defined in /nix/store/1fiaif8pifqj2jh65rbg3fkhg3i56q42-emacs-packages-deps/share/emacs/site-lisp/elpa/dape-0.27.1/dape.el
(defun dape-repl-stack (&optional index)
"List modules in REPL buffer.
If INDEX is non-nil parse into number and select n+1th stack."
(when-let* ((index (and index (string-to-number index)))
(conn (dape--live-connection 'stopped t))
(frames (plist-get (dape--current-thread conn) :stackFrames)))
(dape-select-stack conn (plist-get (nth (1- index) frames) :id)))
(dape--repl-insert-info-buffer 'dape-info-stack-mode))