Function: dape--breakpoint-file-name

dape--breakpoint-file-name is a natively compiled function defined in dape.el.

Signature

(dape--breakpoint-file-name BREAKPOINT)

Documentation

Return file name for BREAKPOINT.

Source Code

;; Defined in /nix/store/1fiaif8pifqj2jh65rbg3fkhg3i56q42-emacs-packages-deps/share/emacs/site-lisp/elpa/dape-0.27.1/dape.el
(defun dape--breakpoint-file-name (breakpoint)
  "Return file name for BREAKPOINT."
  (when-let* (((dape--source-breakpoint-p breakpoint))
              (location (dape--source-breakpoint-location breakpoint)))
    (cond ((overlayp location) (buffer-file-name (overlay-buffer location)))
          ((consp location) (car location)))))