This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-19
Channels
- # beginners (37)
- # boot (96)
- # cider (23)
- # clara (2)
- # cljs-dev (40)
- # clojars (1)
- # clojure (149)
- # clojure-conj (1)
- # clojure-dev (2)
- # clojure-dusseldorf (5)
- # clojure-france (82)
- # clojure-italy (1)
- # clojure-nlp (1)
- # clojure-russia (13)
- # clojure-spec (24)
- # clojure-uk (62)
- # clojurescript (131)
- # core-async (13)
- # core-logic (7)
- # data-science (1)
- # datomic (10)
- # defnpodcast (3)
- # docker (4)
- # emacs (3)
- # events (4)
- # hoplon (68)
- # klipse (4)
- # leiningen (1)
- # off-topic (5)
- # om (140)
- # onyx (16)
- # pedestal (24)
- # planck (10)
- # proton (2)
- # re-frame (9)
- # reagent (4)
- # remote-jobs (1)
- # ring-swagger (16)
- # untangled (5)
- # vim (8)
- # yada (30)
When Cider "Debug Top Level form" throws " Method code too large!" is it (more likely) too many forms, too many characters, or some other error? (It passes regular eval without debug.)
@bozhidar Hmmm… I’d like to configure CIDER to pop open the buffer, but not move my cursor. Any way to do that? (Currently I’m adding an advice to the function that’s called when it connects.)
@richiardiandrea well, the problem is that as soon as cider-boot-parameters
isn't exactly repl -s wait
, cider won't inject the middleware on jack-in anymore.
@zilti if you have a cider
task that does it for you, then you're good anyways right?
@richiardiandrea well, then I can just put it into the global boot settings, but I was wondering why cider refuses to inject the dependencies when that variable is modified.
Do any of you know if Cider "Method code too large!" (when debugging) is only helped by reducing forms or if character count matters? My function was larger than I would have preferred, since it was a 4clojure solution best submitted as a single function, but still just 20 moderately dense lines with none over 80 characters.
there’s some issue report for this on github, @malabarba was looking into the problem but couldn’t come up with a solution as far as I remember
I think there are some optimizations that might improve this situation, but I haven't been able to explore the possibility
@bozhidar & @malabarba are you refering to my "Method code too large!"??? I wasn't really reporting a problem or complaining -- just asking what it takes to work around what seemed to be a limitation. If you want me to submit a function that causes it that would be easy since I still have it (and the slightly smaller version that doesn't cause the issue to manifest.)
I'm sure an issue in the tracker along with the code to reproduce would be immensely helpful
The only workaround I know of is to refactor the code that's of most interest to you into a separate function.