Function: dape--breakpoint-line
dape--breakpoint-line is a natively compiled function defined in
dape.el.
Signature
(dape--breakpoint-line BREAKPOINT)
Documentation
Return line number 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-line (breakpoint)
"Return line number for BREAKPOINT."
(when-let* (((dape--source-breakpoint-p breakpoint))
(location (dape--source-breakpoint-location breakpoint)))
(cond ((overlayp location)
(with-current-buffer (overlay-buffer location)
(line-number-at-pos (overlay-start location))))
((consp location) (cdr location)))))