[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dape 3a31e53782 058/123: Fix sticky breakpoint issue
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dape 3a31e53782 058/123: Fix sticky breakpoint issue |
Date: |
Tue, 5 Dec 2023 03:58:00 -0500 (EST) |
branch: externals/dape
commit 3a31e537827e5ceaf06606b03cfac17cca3c78d1
Author: Daniel Pettersson <daniel@dpettersson.net>
Commit: Daniel Pettersson <daniel@dpettersson.net>
Fix sticky breakpoint issue
Unable to remove breakpoint if it was the last breakpoint in the
buffer.
---
dape.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/dape.el b/dape.el
index 9710bcca99..235e265462 100644
--- a/dape.el
+++ b/dape.el
@@ -1510,11 +1510,12 @@ If SKIP-TYPES overlays with properties in SKIP-TYPES
are filtered."
(defun dape--update-breakpoints-in-buffer (buffer)
"Update all breakpoints in BUFFER."
(when (buffer-live-p buffer)
- (when-let ((process (dape--live-process t))
- (breakpoints (thread-last dape--breakpoints
- (seq-group-by 'overlay-buffer)
- (alist-get buffer))))
- (dape--set-breakpoints process buffer breakpoints))))
+ (when-let ((process (dape--live-process t)))
+ (dape--set-breakpoints process
+ buffer
+ (thread-last dape--breakpoints
+ (seq-group-by 'overlay-buffer)
+ (alist-get buffer))))))
(defun dape--place-breakpoint (&optional log-message expression)
"Place breakpoint at current line.
- [elpa] externals/dape 3a05121b02 019/123: Fix adapter examples, (continued)
- [elpa] externals/dape 3a05121b02 019/123: Fix adapter examples, ELPA Syncer, 2023/12/05
- [elpa] externals/dape df0c2d8357 023/123: Require success to launch/attach after initialize, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 161501b4a5 029/123: Fix example in readme, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 819d4c39f9 028/123: Keep log and expression breakpoints when removing breakpoints, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 907828d05e 032/123: Fix toggle breakpoint, ELPA Syncer, 2023/12/05
- [elpa] externals/dape bddc5102b5 039/123: Clarify package description, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 49909a1a39 043/123: Use presentation hits for auto expand locals scope, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 403581170c 048/123: Use header line format for info buffer, ELPA Syncer, 2023/12/05
- [elpa] externals/dape b8a69409da 049/123: Print stopped description, ELPA Syncer, 2023/12/05
- [elpa] externals/dape d6a6a2a75e 051/123: Clarify codelldb adapter example and fix typo #4, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 3a31e53782 058/123: Fix sticky breakpoint issue,
ELPA Syncer <=
- [elpa] externals/dape a529cbea06 062/123: Fix widget rendering when adapter exited, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 3ab98f24f6 065/123: Fix typo in readme cppdbg adapter section #3, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 77fa220765 069/123: Fix interactive commands in REPL #11, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 4452bc68a4 085/123: Respect :expensive vars in update fetch, ELPA Syncer, 2023/12/05
- [elpa] externals/dape bec3e487f2 095/123: Send request response for runInTerminal and startDebugging, ELPA Syncer, 2023/12/05
- [elpa] externals/dape fad3c663e7 111/123: Update mode line face, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 68799e29a1 113/123: Fix screenshots in readme, ELPA Syncer, 2023/12/05
- [elpa] externals/dape af5dd1eee8 115/123: Fixup of set variables, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 204012b31e 086/123: Rework parsing, ELPA Syncer, 2023/12/05
- [elpa] externals/dape a9f68bf701 091/123: Remove pretty printing of dape--debug io prints, ELPA Syncer, 2023/12/05