简体   繁体   English

如何在cider-repl中终止进程?

[英]How to terminate the process in cider-repl?

When running into a deadlock because of an infinite loop, how can I exit from the cider-repl? 当由于无限循环而陷入死锁时,我如何才能退出cider-repl?

When it happens, I have to kill the emacs, or even reboot my computer to kill the cider-repl. 发生这种情况时,我必须杀死emacs,甚至重新启动计算机以杀死cider-repl。 Is there a better way of solving this? 有解决这个问题的更好方法吗?

The key combination Cc Cc will break from a loop at the top level of the cider repl, while leaving emacs and the repl running. 组合键Cc Cc将在苹果酒repl的顶层从循环中断开,同时保持emacs和repl运行。

In a regular terminal repl, the equivalent is Cc . 在常规终端代表中,等效值为Cc

当您编辑文件并“插入”苹果酒Cc Cc ,默认情况下键入Cc Cc运行cider-eval-defun-at-point ,但是键入Cc Cb运行cider-interrupt ,这会取消正在评估的内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM