[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dape 71057c1ec4 2/4: Improve comment
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dape 71057c1ec4 2/4: Improve comment |
Date: |
Sat, 14 Sep 2024 12:58:13 -0400 (EDT) |
branch: externals/dape
commit 71057c1ec405d25923286f086478fc41e033ade4
Author: Daniel Pettersson <daniel@dpettersson.net>
Commit: Daniel Pettersson <daniel@dpettersson.net>
Improve comment
---
dape.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dape.el b/dape.el
index 71711c8cd1..886e00263a 100644
--- a/dape.el
+++ b/dape.el
@@ -2540,11 +2540,11 @@ When SKIP-UPDATE is non nil, does not notify adapter
about removal."
(current-thread (dape--current-thread conn))
(collection
(let (done)
- ;; Need to fetch all frames as might only have 1 frame
- ;; fetches see `dape--stack-trace' and
- ;; `:supportsDelayedStackTraceLoading'.
(dape--with-request
(dape--stack-trace conn current-thread
dape-stack-trace-levels)
+ ;; Only one stack frame is guaranteed to be available,
+ ;; so we need to reach out to make sure we got the full set.
+ ;; See `dape--stack-trace'.
(setf done t))
(with-timeout (5 nil)
(while (not done) (accept-process-output nil 0.1)))