This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-19
Channels
- # announcements (1)
- # babashka (40)
- # beginners (84)
- # biff (46)
- # calva (37)
- # cherry (2)
- # cider (18)
- # clj-otel (5)
- # clojure (53)
- # clojure-europe (39)
- # clojure-hungary (12)
- # clojure-norway (40)
- # clojure-sweden (2)
- # clojure-uk (2)
- # clojurescript (6)
- # community-development (21)
- # cursive (28)
- # data-science (12)
- # datomic (3)
- # figwheel-main (2)
- # fulcro (12)
- # graalvm (7)
- # gratitude (1)
- # hyperfiddle (23)
- # integrant (9)
- # jobs (2)
- # leiningen (4)
- # lsp (8)
- # malli (3)
- # missionary (1)
- # off-topic (39)
- # polylith (3)
- # portal (33)
- # practicalli (4)
- # re-frame (3)
- # releases (1)
- # sci (53)
- # solo-full-stack (8)
- # sql (5)
- # timbre (9)
Hello 🙂 newbie question incoming: after calling cider-debug-defun-at-point
, is there a way to remove the generated breakpoint?
debug-defun-at-point is basically throwing a bunch of code inside your regular function to step through it. so to remove that code you just redefine whatever your function is back to your regular version
Many thanks 🙂
I believe enrich-classpath
drops :local/root
deps from the classpath, a similar bug to the missing git deps which was fixed a few weeks ago https://github.com/clojure-emacs/enrich-classpath/pull/41/commits/3d5ba3edb2c126ee060dece2de8c7d04380ede66
should be the one injected by CIDER 1.8.0-snapshot (package: <tel:202309171951|20230917.1951>)
To make sure, please check clojure.sh within ~/.emacs.d/elpa/cider*/clojure.sh. It should be 1.17.0 There's specific test coverage for :local/root and I also test this out from time to time. Do you have a project you could share? Or a redacted deps.edn maybe?
output=$(2>&1 "$clojure" -Sforce -Srepro -J-XX:-OmitStackTraceInFastThrow -J-Dclojure.main.report=stderr -Sdeps '{:deps {mx.cider/tools.deps.enrich-classpath {:mvn/version "1.17.0"}}}' -M -m cider.enrich-classpath.clojure "$clojure" "$here" "true" "$@")
looks like 1.17. ill make a repro if you think it should work
I should note, this was with :local/root
outside the project dir, i.e. starting with ../
I'll add test coverage for that today and will let you know if there was a bug there.
If not I might need more info
In the meantime you can set (cider-enrich-classpath . nil)
in the .dir-locals for the affected project
updated the same repro repo as last time, git clone --recurse-submodules [email protected]:nivekuil/scv.git
It's here :) https://clojars.org/mx.cider/enrich-classpath/versions/1.17.1 It's on CIDER master now. If you use MELPA, you'll have to wait up to 3 hours until the new package is visible. You can always edit the mentioned clojure.sh script by hand