Function: dape-info-scope-toggle

dape-info-scope-toggle is an interactive and natively compiled function defined in dape.el.

Signature

(dape-info-scope-toggle &optional EVENT)

Documentation

Expand or contract variable at current line.

Key Bindings

dape-info-scope-mode-line-map e dape-info-scope-mode-map e dape-info-variable-prefix-map <mouse-2> dape-info-variable-prefix-map RET dape-info-watch-mode-line-map e dape-info-watch-mode-map e

Source Code

;; Defined in /nix/store/1fiaif8pifqj2jh65rbg3fkhg3i56q42-emacs-packages-deps/share/emacs/site-lisp/elpa/dape-0.27.1/dape.el
(dape--command-at-line dape-info-scope-toggle (dape--path)
  (dape-info-scope-mode dape-info-watch-mode)
  "Expand or contract variable at current line."
  (unless (dape--live-connection 'stopped)
    (user-error "No stopped threads"))
  (puthash dape--path (not (dape--variable-expanded-p dape--path))
           dape--variable-expanded-p)
  (revert-buffer))