Fork me on GitHub
#cider
<
2021-07-12
>
robert-stuttaford05:07:07

using cider 0.26 when i connect to my shadow-cljs 2.14.5 repl, (clojure.java.classpath/classpath) returns only a single entry; that of my jdk installation:

(#object[java.io.File 0x1a06dc2d "/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home/lib/src.zip"])
when i call the same function from the shadow-cljs repl in terminal directly, i get the full classpath i'm expecting to see. how do i go about debugging this? we're using https://github.com/TimoFreiberg/bultitude to find ring routes dynamically, and i can't test changes to this code via repl because of this issue.

vemv17:07:34

If you use the dynapath library (directly or indirectly; Orchard bundles it) the classpath can be interfered with See https://github.com/clojure-emacs/orchard/tree/70e42b52962572602c6bbbcfe1c7f547f2ab8a9e#configuration-options

robert-stuttaford15:07:26

thanks for this, i'll see if it makes a difference!

vemv16:07:23

it really should, LMK if it doesn't :)

djm07:07:47

cider-inspector-def-current-val seems to work without doing ins(p)ect or (l)ocals, but it’s only bound to d in *cider-inspect* buffers. Is there a reason it isn’t bound to d as soon you hit a breakpoint?

zackteo08:07:28

Hello I am getting A CIDER session with the same connection parameters already exists.. Are you sure you want to create a new session instead of using 'cider-connect-sibling-clj(s)' ? For my clj+cljs project. However when I try the suggested command, it doesn't seems to work - Does this mean that my shadow.cljs and project.clj are not configured correctly?