-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Closed
Labels
Description
Description 
Many single-key CIDER commands, like i
and c
for "into" and "continue" are interpreted as Normal Mode commands. Not only does this make the debugger unusable, but it makes it very easy to accidentally change the source code while you're debugging.
In the meantime, I'm using C-z
to switch to Emacs state while debugging, but it took me some digging to know to do that. Until this is solved, maybe a C-z
suggestion could be added to the in-buffer debugger tip?
Reproduction guide 🪲
- Start Emacs
- Open a
.clj
, run a CIDER repl withcider-jack-in-clj
- Instrument a function with
SPC u , e f
- Run function in REPL
- Press
i
orc
in the debugger.
Observed behaviour: 👀 💔
Pressing n
works for the debugger's "next".
Pressing i
or c
is overriden by Normal's "change" and "insert".
Expected behaviour: ❤️ 😄
All keypresses are passed to CIDER debugger.
Not sure I want to be able to change the source code at all while in the debugging state.
System Info 💻
- OS: darwin
- Emacs: 26.3
- Spacemacs: 0.300.0
- Spacemacs branch: develop (rev. 1f6e39e)
- Graphic display: t
- Distribution: spacemacs
- Editing style: vim
- Completion: ivy
- Layers:
(theming
(clojure :variables clojure-enable-linters
'(clj-kondo joker))
html elm python markdown csharp c-c++ shell emacs-lisp git ivy dap lsp multiple-cursors
(org :variables org-startup-indented t org-indent-mode t)
themes-megapack version-control treemacs org-roam)
- System configuration features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS
practicalli-johnny