繁体   English   中英

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

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

每当我在boot-cljs-repl中调用错误时,我都会遇到一种奇怪的行为。 repl(实际上是整个emacs)挂起大约15秒 ,之后我在模式行下面看到以下错误消息:

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

例如,一个错误就是从REPL调用(some-nonexisting-function)

另外,我在REPL本身内部收到一条错误消息。 对不起,在这里发布整件事 - 我现在不知道哪些部分很重要:

 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) 

最近CIDER被改为在启动lein时自动提供它自己的cider-nrepl和clj-refactor中间件,所以你可以(应该)从你的〜/ .lein / profifiles.clj文件中删除它们。 这将清除此警告。 (记得更新到最新的苹果酒emacs包。

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

这是一个问题,希望修复它可以解决您的其他问题。 如果没有,至少解决这个问题是正确调试它的先决条件。

暂无
暂无

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

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