Fork me on GitHub
#cider
<
2020-05-21
>
bozhidar05:05:12

Glad to hear you like the recent changes!

drewverlee13:05:53

For the cider debugger, the "I" or in command, doesn't seem to take me into a function i have defined in my namespace that my breakpoint is on.

ericihli19:05:45

Trying to debug why cider-find-var isn't working in a cljs file linked to a cljs repl. It's working in clj files linked to a clj repl. (cider-find-var "defsc") results in an error: "wrong type argument: hash-table-p, nil" I see cider-find-var eventually calls (cider-sync-tooling-eval (format cider-info-form var)) where var is the symbol your trying to find. When var is defn that function returns what looks like a json string. When var is the symbol that doesn't work, that function returns a list... (dict "status" ("done") "id" "145" "ns" "shadow.user" ... "value" "nil") . That's as far as I've been able to debug. Don't know where to go from here.

drewverlee16:05:16

i think find-var is part of clj-refactor and so only works on clj.