Fork me on GitHub
#cursive
<
2017-11-22
>
mikeyford17:11:23

Sorry for this newbie question, but I'm just getting started with Cursive (and Clojure) and I'm exploring a new code base. I was (perhaps naively) thinking I could call the main run function I'm keen to explore in the REPL in debug mode and then step into the process to help me understand what's happening in the program. However, when I do that, I start getting taken all over the place to lots of the underlaying java and clojure.core functions. Is there a way to walk through processes in Cursive and just stay at the high level stuff within the project's src code?

mikeyford17:11:13

(the way I tried to do this was via Run > debug the REPL for x then pausing the program, calling the run function and and then stepping over/into when I get taken straight to .class java which is way deeper than I'm looking for)

kenny22:11:04

I accidentally copied all the content from my REPL (not much but definitely contained some non-Clojure text) and pasted it into my editor. This threw an exception in Cursive (which I just reported). It also caused me to no longer be able to use the backspace button. I had to restart the IDE to fix it.

danielcompton23:11:32

How can I make Garden be completed in Cursive? It defines lots of vars, but I can't seem to get the macro defining stuff to come up

cfleming23:11:05

@kenny can you email me your log file?

kenny23:11:46

Sure. I can't exactly remember what time the exception happened and I seem to have rotated through 3 log files today đŸ˜•

cfleming00:11:09

Hmm, well just send all 3

cfleming23:11:25

@danielcompton That’s weird - how is defpseudoclass defined?

cfleming23:11:01

Hmm, I wonder if the CLJC is throwing it off

danielcompton23:11:13

looks pretty tricky