1

boot-cljs-repl でエラーを呼び出すたびに、奇妙な動作に直面しています。repl (実際には emacs 全体) が約15 秒間ハングし、その後、モードラインの下に次のエラー メッセージが表示されます。

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

エラーは、たとえば(some-nonexisting-function)、REPL からの呼び出しです。

さらに、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)
4

1 に答える 1

0

最近、CIDER は、lein の起動時に独自の cider-nrepl および clj-refactor ミドルウェアを自動的に提供するように変更されたため、これらがあれば ~/.lein/profifiles.clj ファイルから削除できます (すべきです)。これにより、この警告がクリアされます。(最新の cider emacs パッケージに更新することを忘れないでください。

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

これは問題でありこれを修正することで他の問題が解消されることを願っています。そうでない場合は、少なくともこれを解決することが、適切にデバッグするための前提条件です。

于 2016-04-15T19:26:36.840 に答える