[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dape 73249cd646 04/10: Remove gdb disclaimer
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dape 73249cd646 04/10: Remove gdb disclaimer |
Date: |
Sat, 2 Mar 2024 09:57:41 -0500 (EST) |
branch: externals/dape
commit 73249cd6468cd2a6d397f53fe7082b1d4461e516
Author: Daniel Pettersson <daniel@dpettersson.net>
Commit: Daniel Pettersson <daniel@dpettersson.net>
Remove gdb disclaimer
As long as dap messages are received in the correct order stack trace
resolution does not err. This was caused by an bug in jsonrpc fork.
---
dape.el | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/dape.el b/dape.el
index 9e8739590d..a7516d6a20 100644
--- a/dape.el
+++ b/dape.el
@@ -176,8 +176,6 @@
:cwd "."
:program "lib/main.dart"
:toolArgs ["-d" "all"])
- ;; gdb is not fully functional with an thread count > 1
- ;; See: `dape--info-threads-all-stack-trace-disable'
(gdb
modes (c-mode c-ts-mode c++-mode c++-ts-mode)
command-cwd dape-command-cwd
@@ -3206,18 +3204,10 @@ displayed."
;; TODO Add bindings for individual threads.
)
-;; TODO Report gdb bug
-(defvar dape--info-threads-all-stack-trace-disable nil
- "Disable stack information for non selected threads.
-GDB fails fetching stack variables if an stack trace for another
-thread is in flight, which happens when *dape-info Threads* and
-*dape-info Scopes* are updated at the same time.")
-
(defun dape--info-threads-all-stack-trace (conn cb)
"Populate CONN stack frame data for non selected threads.
See `dape-request' for expected CB signature."
- (if (or dape--info-threads-all-stack-trace-disable
- (not (dape--threads conn)))
+ (if (not (dape--threads conn))
(dape--request-return cb)
(let ((responses 0))
(dolist (thread (dape--threads conn))
- [elpa] externals/dape updated (8700a65313 -> 9897d847ad), ELPA Syncer, 2024/03/02
- [elpa] externals/dape a9108ce394 01/10: Rework dape--path get connection instead of inferring, ELPA Syncer, 2024/03/02
- [elpa] externals/dape 73249cd646 04/10: Remove gdb disclaimer,
ELPA Syncer <=
- [elpa] externals/dape 30052d8809 05/10: Fix goto module with remote debugging, ELPA Syncer, 2024/03/02
- [elpa] externals/dape 2255db9b53 02/10: Clarify usage of `dape--guess-root', ELPA Syncer, 2024/03/02
- [elpa] externals/dape 2eb7a80a3e 06/10: Fix documentation error in `dape-info-modules-goto', ELPA Syncer, 2024/03/02
- [elpa] externals/dape 72e969d0c4 08/10: Improve `dape-configs' prefix-* documentation, ELPA Syncer, 2024/03/02
- [elpa] externals/dape b1a32296c4 03/10: Harden `dape--source-ensure', ELPA Syncer, 2024/03/02
- [elpa] externals/dape 9897d847ad 10/10: Document `command-cwd' default value, ELPA Syncer, 2024/03/02
- [elpa] externals/dape eeb3801b5e 07/10: Add gdb section in readme, ELPA Syncer, 2024/03/02
- [elpa] externals/dape 2b3b45e979 09/10: Add todo for `dape-config-tramp', ELPA Syncer, 2024/03/02