cider

Colton Goates 2025-09-19T02:01:52.081939Z

When I evaluate this expression, Cider says that the map must contain an even number of forms. The problem is that it doesn't give me a line number. Is there a way I can get a line number? I'm not seeing the error, and a line number would really help

oyakushev 2025-09-19T07:12:30.043569Z

Compile-time errors (and read-time ones, like in this case) by default don't bring forward the error buffer. We assume that the inline error message should be enough to understand the issue + we highlight the problematic part when possible. In this case, obviously, the information was not sufficient to debug. I will investigate how we can improve the inline error message for this case; however, you can also disable this behavior by customizing cider-clojure-compilation-error-phases, see https://docs.cider.mx/cider/usage/dealing_with_errors.html#configuration

🙌 1
Harold 2025-09-19T02:07:39.967759Z

361

Harold 2025-09-19T02:08:09.632109Z

But also, when this happens, you can type *e in the repl, and see the stacktrace, which will have line numbers in it.

🙌 1
Harold 2025-09-19T02:11:08.111289Z

Colton Goates 2025-09-19T02:15:34.757149Z

Thanks, @hhausman

Colton Goates 2025-09-19T02:39:27.512769Z

Looks like I can also do C-x b **cider-error** . It didn't pull up the error buffer automatically, but it sure enough populates it with the stacktrace

👍 1