branch: externals/dape
commit b8a69409da0a83fba259a777320368b405f0d6b3
Author: Daniel Pettersson <[email protected]>
Commit: Daniel Pettersson <[email protected]>
Print stopped description
---
dape.el | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/dape.el b/dape.el
index 336cc4f351..1b7f5543c0 100644
--- a/dape.el
+++ b/dape.el
@@ -983,7 +983,13 @@ Starts a new process as per request of the debug adapter."
(plist-get body :threadId)
(plist-get body :allThreadsStopped)
(dape--callback
- (dape--update process))))
+ (dape--update process)))
+ (when-let ((desc (plist-get body :description)))
+ (dape--repl-insert-text desc
+ (if (equal "exception"
+ (plist-get body :reason))
+ 'error
+ 'italic))))
(cl-defmethod dape-handle-event (_process (_event (eql continued)) body)
"Handle continued events."