cider

Jim Newton 2025-04-09T07:04:26.657949Z

What's the correct way to interrupt an infinite loop in cider? In this particular case I'm running code defined by deftest by pressing CNT-t-t. One of two problematic things might happen. 1) If the code is in an infinite recursion loop, then eventually java will throw an exception and emacs will spend a loooong time trying to write the loooooong stacktrace into some buffer, or 2) if its an inifinite loop like from loop/recur then I usually have to go to the process manager and kill the java process and restart cider.

Jim Newton 2025-04-09T07:07:25.879599Z

I notice that I now have a file java_pid47068.hprof of size 2033182244 (2 gig). Does that mean that I've accidentally turned on profiling somehow?

oyakushev 2025-04-09T07:13:00.103519Z

C-c C-b should work.

☝️ 1