This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-21
Channels
- # announcements (3)
- # babashka (26)
- # beginners (45)
- # calva (10)
- # chlorine-clover (9)
- # cider (4)
- # clj-kondo (7)
- # cljs-dev (10)
- # clojure (95)
- # clojure-europe (33)
- # clojure-france (5)
- # clojure-nl (3)
- # clojure-spec (2)
- # clojure-sweden (3)
- # clojure-uk (33)
- # clojurescript (54)
- # conjure (101)
- # core-async (14)
- # cursive (1)
- # data-science (91)
- # datascript (3)
- # datomic (16)
- # figwheel (3)
- # figwheel-main (15)
- # fulcro (35)
- # ghostwheel (5)
- # graalvm (13)
- # helix (29)
- # java (5)
- # jobs (6)
- # kaocha (6)
- # leiningen (1)
- # meander (12)
- # off-topic (54)
- # pathom (13)
- # re-frame (16)
- # reagent (8)
- # reitit (4)
- # rum (3)
- # shadow-cljs (49)
- # spacemacs (2)
- # sql (5)
- # tools-deps (10)
- # xtdb (8)
- # yada (3)
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.
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.
i think find-var is part of clj-refactor and so only works on clj.