This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # aws-lambda (3)
- # beginners (3)
- # boot (327)
- # capetown (2)
- # cider (156)
- # cljs-dev (368)
- # cljsjs (13)
- # cljsrn (53)
- # clojure (403)
- # clojure-czech (5)
- # clojure-dev (4)
- # clojure-greece (2)
- # clojure-russia (72)
- # clojure-spec (12)
- # clojure-uk (129)
- # clojurescript (156)
- # core-async (1)
- # cursive (33)
- # datomic (35)
- # emacs (10)
- # events (1)
- # hoplon (4)
- # jobs-discuss (3)
- # klipse (1)
- # lein-figwheel (14)
- # leiningen (5)
- # luminus (5)
- # off-topic (15)
- # om (69)
- # om-next (2)
- # onyx (2)
- # parinfer (15)
- # perun (12)
- # re-frame (30)
- # reagent (7)
- # ring-swagger (8)
- # spacemacs (10)
- # specter (6)
- # untangled (69)
- # yada (13)
Uncaught exception in thread nREPL-worker-3: java.lang.Thread.run Thread.java: 745 java.util.concurrent.ThreadPoolExecutor$Worker.run ThreadPoolExecutor.java: 617 java.util.concurrent.ThreadPoolExecutor.runWorker ThreadPoolExecutor.java: 1142 ... clojure.tools.nrepl.middleware.interruptible-eval/run-next/fn interruptible_eval.clj: 190 cider.nrepl.middleware.test/handle-test/fn test.clj: 215 ... clojure.core/with-bindings* core.clj: 1963 (repeats 2) clojure.core/apply core.clj: 657 ... cider.nrepl.middleware.test/handle-test/fn/fn test.clj: 220 clojure.tools.nrepl.transport.FnTransport/send transport.clj: 28 clojure.tools.nrepl.transport/bencode/fn transport.clj: 103 ... clojure.tools.nrepl.bencode/eval21149/fn bencode.clj: 398 ... clojure.tools.nrepl.bencode/eval21149/fn bencode.clj: 398 ... clojure.tools.nrepl.bencode/eval21149/fn bencode.clj: 398 ... clojure.tools.nrepl.bencode/eval21139/fn bencode.clj: 382 ... clojure.tools.nrepl.bencode/eval21149/fn bencode.clj: 398 ... clojure.tools.nrepl.bencode/eval21139/fn bencode.clj: 382 ... clojure.tools.nrepl.bencode/eval21139/fn bencode.clj: 382 ... clojure.tools.nrepl.bencode/eval21139/fn bencode.clj: 382 ... clojure.tools.nrepl.bencode/eval21139/fn bencode.clj: 382 ... clojure.tools.nrepl.bencode/eval21149/fn bencode.clj: 398 ... clojure.tools.nrepl.bencode/eval21139/fn bencode.clj: 382 ... clojure.tools.nrepl.bencode/eval21149/fn bencode.clj: 398 ... clojure.tools.nrepl.bencode/eval21114/fn bencode.clj: 326 java.lang.IllegalArgumentException: Cannot write value of type class java.math.BigDecimal
Hi, newbie here, please excuse my ignorant questions... Today I'm attempting to use the cider debugger for the first time. Is this the right place to ask, or is there a different channel that I should go to?
Here is my question. When I place point on a top level form in my .clj file, hit
C-u C-M-x and expect to be dropped into a debug session. Instead I get the message
<C-s-268632088> is undefined. Any pointers?
If someone can point me how to start debugging this that would be cool. I'll be here for another 6 hours or so at least 🙂
Well... some progress? Now
C-u C-M-x evaluates the top level form and inserts the value at the point.
Not a debugger, but something different at least.
@vinal I haven't used the cider debugger much but you need to run your app from the cider nrepl session or use
cider-connect to connect the cider nrepl session to the running app and then when your fn gets executed it will stop on the instrumented fn like a breakpoint was set and you get a number of options to inspect locals, step through code etc.
I've just upgraded to cider 0.14.0 from 0.12.x and I'm getting the classic
CIDER's version (0.14.0) does not match cider-nrepl's version (nil). Things will break! warning.
I've checked and the
project.clj doesn't have cider-nrepl specified, neither does
cider-inject-dependencies-at-jack-in is set to
t and I can see the message with the
update-in adding the
0.14.0 version of cider-nrepl when I
cider-jack-in. I've also tried manually adding the
0.14.0 version of cider-nrepl into the
project.clj and still get the warning.
Basically, I've exhausted everything in the troubleshooting page, any ideas?
i’ve seen a msg lately on gitter saying the same but stating that everything still works as expected
@agile_geek Thanks for the heads up. Just noticed I'm on cider 0.8.1 - I'll upgrade and try to debug again.
@vinal not even sure cider debug was a feature of 0.8.1 I think it came in around 0.10.x?
Hmm, I only see the versions
20141120.1746 (installed), 0.8.2 (marmalade) in
emacs now always pulling the latest 20170126.717 version, not the version from melpa-stable. How can I set melpa-stable to have a higher priority then melpa in the repo list? Maybe I have to remove melpa.
You could pin melpa stable for cider in your init.el as well. that way you can have melpa in the list at the same time as melpa-stable
(add-to-list 'package-pinned-packages '(cider . "melpa-stable") t)
@benedek hmm, I have got problems around
cider-jack-in-clojurescript as I can't start cider repls in a cljs/clj project. I get no error messages other than that warning in the nrepl messages but the CIDER repls just don't start
I haven't time to debug this. What's a safe way of regressing to an earlier version of CIDER?
if so just nuke your cider installation in your
.emacs.d change your config to
melpa-stable and reinstall
nrepl buffer is up with normal messages for figwheel etc and I can connect to the app but there are no cider buffers and I can't see a message that mentions the repl port so I can't cider-connect
@agile_geek last question, none of your buffer shows
cljs-user or is writing to you to connect browser to it?
since you are committed to completely eradicating cider, do you mind trying melpa's version, 0.15 snapshot?
i upgraded 24.x to 25 recently on my windows machine and there were some changes to the byte compiler i guess
also, I've found that tracking github to be the easiest way to revert/upgrade/downgrade
;; load local version of cider (add-to-list 'load-path "~/projects/cider") (load "cider")
but it looks like melpa stable doesn't keep old versions around: https://github.com/melpa/melpa/issues/3948
@dpsutton to answer your question about upgrading emacs - no I haven't as it's too scary for this exact reason
if you want to ping me later when you do want to experiement i'm happy to help. and totally understand if you just want to get work done and ignore all this
@borkdude I'm working on that. That feature (which requires some cleanup) is coming soon
will list all connections and then
(cider-find-connection-buffer-for-project-directory nil :all-connections)
will set the connection
(setq-local cider-connections (list other-conn))
this will work most easily if you are on the most recent version of cider as there was a cleanup of session/connection
the former function will list all connections. Set it to some var and then setq a buffer local as
(list connection-you-want). Connections are in simple terms just repl buffers
simple function that should get you there while i finish it. it'll take a while to get it polished and done
the reason it will work if you upgrade is that the code used to reach out willy nilly and ask for current connection
Hello everyone, my emacs frame gets wider when I only select buffer with cojure mode and that is only after cider-jack-in, this doesn't happen elsewhere. Any help?
;; Pretty much everything here's copied from subr-x for compatibility with ;; Emacs 24.4.
In November Cider stopped working on Emacs 24.4 due to removal of
cider-compat.el. A fix was applied but I was still seeing people with problems after that. It may be due to the version of cider, could be just snapshots, I havent had chance to test it myself. So I have recently recommended Emacs 25.1. Happy to be wrong though