Skip to content

Commit

Permalink
Let hit breakpoints count as verified
Browse files Browse the repository at this point in the history
This is more or less an hack as they should be verified as is bit
lldb-dap marks each breakpoint created as part of startup as
unverified until setBreakpoints is called again
  • Loading branch information
svaante committed Nov 16, 2024
1 parent f6e8289 commit 3f6403c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dape.el
Original file line number Diff line number Diff line change
Expand Up @@ -3652,10 +3652,14 @@ without log or expression breakpoint")))))))
(dape--breakpoint-buffer-or-path-line breakpoint)
for verified-plist = (dape--breakpoint-verified breakpoint)
for verified-p =
(or ;; No live connection show every breakpoint as verified
(or
;; If no live connection show all as verified
(not (dape--live-connection 'last t))
;; If actually verified by some connection
(cl-find-if (apply-partially 'plist-get verified-plist)
(dape--live-connections)))
(dape--live-connections))
;; If hit then must be verified
(dape--breakpoint-hits breakpoint))
do
(gdb-table-add-row
table
Expand Down

0 comments on commit 3f6403c

Please sign in to comment.