簡體   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