Function: dape--set-exception-breakpoints

dape--set-exception-breakpoints is a natively compiled function defined in dape.el.

Signature

(dape--set-exception-breakpoints CONN &optional CB)

Documentation

Set the exception breakpoints for adapter CONN.

See dape-request for expected CB signature.

Source Code

;; Defined in /nix/store/1fiaif8pifqj2jh65rbg3fkhg3i56q42-emacs-packages-deps/share/emacs/site-lisp/elpa/dape-0.27.1/dape.el
(defun dape--set-exception-breakpoints (conn &optional cb)
  "Set the exception breakpoints for adapter CONN.
See `dape-request' for expected CB signature."
  (let ((exceptions (cl-remove-if-not #'dape--exception-breakpoint-p
                                      dape--breakpoints)))
    (if (not exceptions)
        (dape--request-continue cb)
      (dape-request
       conn :setExceptionBreakpoints
       `(:filters
         ,(cl-map 'vector
                  #'dape--exception-breakpoint-filter
                  (cl-remove-if #'dape--breakpoint-disabled exceptions)))
       cb))))