Skip to content

Commit 4d1c32e

Browse files
committed
Quitting debug prompt won't quit the debugger
This is a temporary workaround. The proper fix will be to not have a separate message asking for an expression.
1 parent d7c6a9f commit 4d1c32e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

cider-debug.el

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -607,9 +607,12 @@ needed. It is expected to contain at least \"key\", \"input-type\", and
607607
(condition-case-unless-debug e
608608
(progn
609609
(pcase input-type
610-
("expression" (cider-debug-mode-send-reply (cider-read-from-minibuffer
611-
(or prompt "Expression: "))
612-
key))
610+
("expression" (cider-debug-mode-send-reply
611+
(condition-case nil
612+
(cider-read-from-minibuffer
613+
(or prompt "Expression: "))
614+
(quit "nil"))
615+
key))
613616
((pred sequencep)
614617
(let* ((marker (cider--debug-find-source-position response 'create-if-needed)))
615618
(pop-to-buffer (marker-buffer marker))

0 commit comments

Comments
 (0)