简体   繁体   English

repl在每个错误上挂起约15秒(emacs + cider + boot)

[英]repl hangs for ~15 seconds on each error (emacs + cider + boot)

I'm facing a strange behavior whenever I invoke an error in boot-cljs-repl. 每当我在boot-cljs-repl中调用错误时,我都会遇到一种奇怪的行为。 The repl (actually the entire emacs) hangs for about 15 seconds and after that I see the following error message below the mode-line: repl(实际上是整个emacs)挂起大约15秒 ,之后我在模式行下面看到以下错误消息:

error in process filter: Lisp nesting exceeds max-lisp-eval-depth'` error in process filter: Lisp nesting exceeds max-lisp-eval-depth'`

An error would eg be calling (some-nonexisting-function) from the REPL. 例如,一个错误就是从REPL调用(some-nonexisting-function)

Additionally I get an error message inside the REPL itself. 另外,我在REPL本身内部收到一条错误消息。 Sorry, for posting the whole thing here - I wouldn't know right now which parts are important: 对不起,在这里发布整件事 - 我现在不知道哪些部分很重要:

 box.webgl> (some-nonexisting-function) WARNING: Use of undeclared Var box.webgl/some-nonexisting-function at line 1 <cljs repl> #object[TypeError TypeError: Cannot read property 'call' of undefined] TypeError: Cannot read property 'call' of undefined at eval (eval at <anonymous> (http://localhost:3000/main.out/weasel/repl.js:30:470), <anonymous>:1\\ :124) at eval (eval at <anonymous> (http://localhost:3000/main.out/weasel/repl.js:30:470), <anonymous>:9\\ :3) at eval (eval at <anonymous> (http://localhost:3000/main.out/weasel/repl.js:30:470), <anonymous>:1\\ 4:4) at http://localhost:3000/main.out/weasel/repl.js:30:465 at http://localhost:3000/main.out/weasel/repl.js:39:4 at cljs.core.MultiFn.call.G__10839__2 (http://localhost:3000/main.out/cljs/core.js:33327:106) at cljs.core.MultiFn.call.G__10839 [as call] (http://localhost:3000/main.out/cljs/core.js:33594:20\\ ) at .<anonymous> (http://localhost:3000/main.out/weasel/repl.js:184:71) at goog.events.EventTarget.fireListeners (http://localhost:3000/main.out/goog/events/eventtarget.j\\ s:284:23) at Function.goog.events.EventTarget.dispatchEventInternal_ (http://localhost:3000/main.out/goog/ev\\ ents/eventtarget.js:381:26) 

recently CIDER was changed to automatically supply it's own cider-nrepl and clj-refactor middleware when starting lein, so you can (should) remove these from your ~/.lein/profifiles.clj file if you have them. 最近CIDER被改为在启动lein时自动提供它自己的cider-nrepl和clj-refactor中间件,所以你可以(应该)从你的〜/ .lein / profifiles.clj文件中删除它们。 This will clear up this warning. 这将清除此警告。 (remember to update to the latest cider emacs package. (记得更新到最新的苹果酒emacs包。

WARNING: CIDER's version (0.12.0-snapshot) does not match 
cider-nrepl's version (not installed). Things will break!

This is a problem and hopefully fixing it clears up your other problems. 这是一个问题,希望修复它可以解决您的其他问题。 If not, at least solving this is a prerequisite to debugging it properly. 如果没有,至少解决这个问题是正确调试它的先决条件。

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

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