Skip to content

Commit

Permalink
Clarify breakpoint xxx comment
Browse files Browse the repository at this point in the history
  • Loading branch information
svaante committed Oct 14, 2024
1 parent 4a29e70 commit c845a67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dape.el
Original file line number Diff line number Diff line change
Expand Up @@ -3083,9 +3083,9 @@ When SKIP-UPDATE is non nil, does not notify adapter about removal."
(pcase-let ((`(,buffer-or-path . ,line)
(dape--breakpoint-buffer-or-path-line breakpoint)))
;; XXX Breakpoint overlay might be dead at this point as
;; another invocation of `dape--breakpoint-update' might
;; have deleted it. If that is the reason for missing
;; buffer we are fine.
;; another invocation of `dape--breakpoint-update' could
;; have deleted it. If that is the reason for nil buffer we
;; are fine.
(when-let* (buffer-or-path
;; TODO Here we go opening buffers anyway, no good.
(buffer (if (bufferp buffer-or-path) buffer-or-path
Expand Down

0 comments on commit c845a67

Please sign in to comment.