[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dape 5b60dba042 6/8: Kill server process when failing t
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dape 5b60dba042 6/8: Kill server process when failing to connect to it |
Date: |
Tue, 19 Dec 2023 15:57:40 -0500 (EST) |
branch: externals/dape
commit 5b60dba0421387482f404053a79cd1222bfd668a
Author: Daniel Pettersson <daniel@dpettersson.net>
Commit: Daniel Pettersson <daniel@dpettersson.net>
Kill server process when failing to connect to it
---
dape.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/dape.el b/dape.el
index bb4214ce9a..84d1eab3f8 100644
--- a/dape.el
+++ b/dape.el
@@ -1570,9 +1570,10 @@ Starts a new process as per request of the debug
adapter."
(sleep-for 0 100)
(setq retries (1- retries)))
(if (zerop retries)
- (user-error "Unable to connect to server %s:%d"
- host
- (plist-get config 'port))
+ (progn (dape-kill)
+ (user-error "Unable to connect to server %s:%d"
+ host
+ (plist-get config 'port)))
(dape--debug 'info "Connection to server established %s:%s"
host (plist-get config 'port)))
(dape--setup process config)))
- [elpa] externals/dape updated (81ebf9766a -> 432776f347), ELPA Syncer, 2023/12/19
- [elpa] externals/dape 8db495f20e 2/8: Rename breakpoint functions, ELPA Syncer, 2023/12/19
- [elpa] externals/dape 15a9dafc9d 1/8: Cleanup breakpoints on buffer-kill, ELPA Syncer, 2023/12/19
- [elpa] externals/dape 5b60dba042 6/8: Kill server process when failing to connect to it,
ELPA Syncer <=
- [elpa] externals/dape e5b200a26e 4/8: Join initialize and launch/attach functions, ELPA Syncer, 2023/12/19
- [elpa] externals/dape f84bf85033 3/8: Run ui hook when removing breakpoints in kill-buffer-hook, ELPA Syncer, 2023/12/19
- [elpa] externals/dape 432776f347 8/8: Refactor connection/process creation, ELPA Syncer, 2023/12/19
- [elpa] externals/dape eea8558118 5/8: Small refactoring of init flow, ELPA Syncer, 2023/12/19
- [elpa] externals/dape 53281a3690 7/8: Better default for debugpy to expose server running on remote, ELPA Syncer, 2023/12/19