Function: dape-breakpoint-remove-all
dape-breakpoint-remove-all is an interactive and natively compiled
function defined in dape.el.
Signature
(dape-breakpoint-remove-all)
Documentation
Remove all breakpoints.
Key Bindings
ctl-x-map C-a B dape-global-map B global-map C-x C-a B help-quick-use-map C-x C-a B
Source Code
;; Defined in /nix/store/1fiaif8pifqj2jh65rbg3fkhg3i56q42-emacs-packages-deps/share/emacs/site-lisp/elpa/dape-0.27.1/dape.el
(defun dape-breakpoint-remove-all ()
"Remove all breakpoints."
(interactive)
(let* ((source-bps (cl-remove-if-not #'dape--source-breakpoint-p
dape--breakpoints))
(sources (mapcar #'dape--breakpoint-source source-bps)))
(dolist (breakpoint source-bps)
(dape--breakpoint-remove breakpoint 'skip-notify))
(apply #'dape--breakpoint-notify-changes sources)))