Fork me on GitHub
#vim
<
2018-04-03
>
Hukka17:04:08

Hmh. I asked at work for clojure debugger and was told that emacs works well

Hukka17:04:13

I have a case where the data from public interface is mangled here and there until it ends in the function I'm trying to understand, so putting prints in dozens of files is just not very handy to follow what happens to the data

dominicm17:04:47

@tomi.hukkalainen_slac I use debug-repl by gfredericks

Hukka17:04:39

Thanks, I'll look into that

Hukka19:04:10

Seems like it only has breakpoints, no stepping 😞

dave20:04:29

@tomi.hukkalainen_slac i just ran across this thread today: https://www.reddit.com/r/Clojure/comments/89eeiv/what_little_clojure_tricks_did_you_not_realize/ in which someone pointed out that instead of littering your code with prn, you can use def to capture values, and then experiment with them in the REPL

dave20:04:53

that seems to me like a step above prn-sprinkling 🙂

dominicm20:04:39

That's the same as using the scope capture library :)