Fork me on GitHub
#cider
<
2016-03-21
>
reefersleep08:03:27

How do you remove a cider debug breakpoint from a function? I thought deleting the line before with #dbg would be enough, but apparently not.

turbopape14:03:28

@reefersleep did you try evaluating after removing the #dbg?

rmuslimov15:03:35

@reefersleep: two things required: press “enter” on #dbg and re-eval

bozhidar16:03:28

If you’d like to see a CIDER Unsession at Clojure/West take a look at my proposal here https://github.com/clojurewest/clojurewest2016/wiki/Unsessions#debugging-with-cider (and note you’re interested)

base69818:03:46

I'm definitely interested.

malabarba19:03:41

@reefersleep FYI, I've reverted that change, so just reevaluating the function will be enough.

zzamboni23:03:29

All of a sudden I’m having trouble starting cider. When I run cider-jack-in, I see the “Starting nREPL server…” message, but after a few seconds I see a “Lisp expression:” prompt, and I can never get to the repl prompt.

zzamboni23:03:52

I don’t remember changing anything since the last time I used it, but I have probably updated packages here and there.

zzamboni23:03:01

Any ideas? How to debug this?

zzamboni23:03:48

this is the command that is used to start the REPL (from Emacs’ *Messages* buffer): lein update-in :dependencies conj \[acyclic/squiggly-clojure\ \"0.1.5\"\] -- update-in :dependencies conj \[org.clojure/tools.nrepl\ \"0.2.12\"\] -- update-in :plugins conj \[refactor-nrepl\ \"2.2.0-SNAPSHOT\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.12.0-SNAPSHOT\"\] -- repl :headless

zzamboni23:03:39

if I run that command from the terminal (without the :headless) at the end, the repl starts fine, although I do see the following warning:

Warning: refactor-nrepl requires org.clojure/clojure 1.7.0 or greater.
Warning: refactor-nrepl middleware won't be activated due to missing dependencies.

zzamboni23:03:37

(btw I am using Clojure 1.8, so I’m not sure what’s it complaining about here neither)

zzamboni23:03:40

TIA for any ideas.

zzamboni23:03:58

I just realized that if I enter “()” at the “Lisp expression:” prompt, it puts me in the cider-repl buffer, but with the following warnings:

malabarba23:03:48

@zzamboni if you uninstall Clj-refactor, does the prompt problem go away?

zzamboni23:03:31

I’m not sure where it’s installed - it’s not under ~/.m2/repository.

zzamboni23:03:13

ah, never mind, it’s an Emacs package

zzamboni23:03:26

sorry, I’m still a bit confused with the whole environment here

zzamboni23:03:43

@malabarba: after uninstalling clj-refactor, the problem persists