Fork me on GitHub
#cider
<
2017-08-05
>
hmaurer16:08:49

Hi! I am a complete beginner having an issue trying to use CIDER’s debugger. I can’t seem to be able to configure it: getting “no reader function for tag break” error

hmaurer16:08:58

Could someone help me out?

hmaurer16:08:10

I suspect I didn’t configure something properly

hmaurer17:08:49

Problem solved

hmaurer17:08:17

@gonewest818 not really; my project was declaring as dependncy clojure 1.5 and I hadn’t checked the startup log of the repl which mentioned that CIDER wouldn’t be loaded as it requires Clojure 1.7.0+

hmaurer17:08:31

although I still can’t seem to get CIDER to break on #break points..

gonewest81818:08:21

Well, maybe try (boot.core/load-data-readers!) in your repl, as recommended in that bug report, and see if you can get it to break after that.

hmaurer19:08:28

@gonewest818 I am using Lein, but the data readers are getting loaded properly (I checked data-readers in the REPL)

hmaurer19:08:18

@U051SS2EU maybe you might be able to help if you happen to use CIDER?

hmaurer19:08:48

it’s probably something stupid. Should I be expecting CIDER to break on #break when calling a function in the REPL?

dpsutton19:08:31

You've re evaluated the form after putting the break tag?

gonewest81819:08:41

I'm pretty sure that works fine. Also if you evaluate in the buffer using the various forms of cider-eval-*. Did you reload the buffer or function after inserting the #break?

hmaurer19:08:35

I reloaded the buffer, yes

hmaurer19:08:34

it works if I execute cider-debug-defun-at-point on the function definition before executing it