This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-07
Channels
- # announcements (2)
- # babashka (34)
- # beginners (114)
- # biff (7)
- # calva (16)
- # cider (2)
- # clj-kondo (46)
- # clj-on-windows (14)
- # clojars (13)
- # clojure (33)
- # clojure-europe (17)
- # clojure-nl (2)
- # clojure-norway (8)
- # clojure-spec (3)
- # clojure-uk (3)
- # clojurescript (25)
- # community-development (1)
- # datalevin (1)
- # emacs (53)
- # fulcro (31)
- # gratitude (2)
- # jobs (1)
- # lambdaisland (12)
- # lsp (57)
- # malli (3)
- # nbb (1)
- # off-topic (92)
- # pathom (2)
- # pedestal (2)
- # releases (5)
- # shadow-cljs (25)
- # sql (3)
- # squint (1)
- # testing (6)
- # vim (11)
with cider debug defun applied to (defn lol [x] (inc (foo/foo x)))
i first
1. next
2. in
And the result is (inc (foo/foo x)) => 5, when i was hoping for it to go "in" the foo/foo function and let me move throw the internals of that expression. How do i do that? if i call debug on foo/foo then when i do next, next i will get into the function like i wanted. But i want to a way to step into functions without having to instrument them first.
Put another way, what does "in" do if not go into a function?
the cider debugger can only step thru instrumented functions, so you need to instrument all the stuff you want to step into before executing anything. As far as I know there is no way to instrument entire namespaces or an entire codebase