Fork me on GitHub
#cider
<
2022-10-07
>
Drew Verlee05:10:32

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?

jpmonettas10:10:46

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

👀 1