[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dape 371e88daec 08/10: Fix issue where stack shows stac
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/dape 371e88daec 08/10: Fix issue where stack shows stack trace even if continued |
|
Date: |
Fri, 12 Jan 2024 10:04:11 -0500 (EST) |
branch: externals/dape
commit 371e88daec0cf971a39aaaef964565e51713ad2a
Author: Daniel Pettersson <daniel@dpettersson.net>
Commit: Daniel Pettersson <daniel@dpettersson.net>
Fix issue where stack shows stack trace even if continued
---
dape.el | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/dape.el b/dape.el
index dceda60b69..5b2d07b1df 100644
--- a/dape.el
+++ b/dape.el
@@ -3051,11 +3051,13 @@ Buffer is specified by MODE and ID."
(cl-defmethod dape--info-buffer-update (conn (mode (eql dape-info-stack-mode))
id)
"Fetches data for `dape-info-stack-mode' and updates buffer.
Buffer is specified by MODE and ID."
- (let ((stack-frames (plist-get (dape--current-thread conn) :stackFrames))
- (current-stack-frame (dape--current-stack-frame conn)))
- (dape--info-buffer-update-1 mode id
- :current-stack-frame current-stack-frame
- :stack-frames stack-frames)))
+ (if (dape--stopped-threads conn)
+ (let ((stack-frames (plist-get (dape--current-thread conn) :stackFrames))
+ (current-stack-frame (dape--current-stack-frame conn)))
+ (dape--info-buffer-update-1 mode id
+ :current-stack-frame current-stack-frame
+ :stack-frames stack-frames))
+ (dape--info-buffer-update-1 mode id)))
(cl-defmethod dape--info-buffer-update-contents
(&context (major-mode dape-info-stack-mode) &key current-stack-frame
stack-frames)
@@ -3065,7 +3067,7 @@ Updates from CURRENT-STACK-FRAME STACK-FRAMES."
(cond
((or (not current-stack-frame)
(not stack-frames))
- (insert "No stopped thread."))
+ (insert "No stopped threads."))
(t
(cl-loop with table = (make-gdb-table)
for frame in stack-frames
- [elpa] externals/dape updated (4393b10a53 -> 3673a55dd3), ELPA Syncer, 2024/01/12
- [elpa] externals/dape 2b54df1d25 02/10: Fix startDebugging request for debugpy process start, ELPA Syncer, 2024/01/12
- [elpa] externals/dape 3673a55dd3 10/10: Fix stacktrace face, ELPA Syncer, 2024/01/12
- [elpa] externals/dape 3d01c5f3b6 09/10: Add filename completion to read config, ELPA Syncer, 2024/01/12
- [elpa] externals/dape d730e3f4f2 06/10: Improve look of config barf on error, ELPA Syncer, 2024/01/12
- [elpa] externals/dape 7e184d193a 03/10: Add option to align variables table, ELPA Syncer, 2024/01/12
- [elpa] externals/dape 552683b9a8 04/10: Add overlay description for exception errors, ELPA Syncer, 2024/01/12
- [elpa] externals/dape 043cf44d09 07/10: `dape-info' now toggles buffers when called as a command, ELPA Syncer, 2024/01/12
- [elpa] externals/dape 400082bc9b 01/10: Fix removal of log and expression breakpoints, ELPA Syncer, 2024/01/12
- [elpa] externals/dape 371e88daec 08/10: Fix issue where stack shows stack trace even if continued,
ELPA Syncer <=
- [elpa] externals/dape 1ec1b243c9 05/10: Improve usability of goto breakpoint in info buffer, ELPA Syncer, 2024/01/12