This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-15
Channels
- # adventofcode (110)
- # announcements (30)
- # aws (2)
- # babashka (39)
- # babashka-sci-dev (112)
- # beginners (155)
- # calva (5)
- # cider (12)
- # clj-kondo (11)
- # cljs-dev (1)
- # cljsrn (2)
- # clojure (144)
- # clojure-australia (2)
- # clojure-europe (14)
- # clojure-nl (5)
- # clojure-spec (3)
- # clojure-uk (2)
- # clojurescript (22)
- # core-async (23)
- # cursive (31)
- # data-science (3)
- # emacs (12)
- # events (1)
- # fulcro (8)
- # honeysql (7)
- # jobs-discuss (11)
- # lsp (1)
- # missionary (28)
- # nextjournal (7)
- # off-topic (64)
- # pedestal (3)
- # polylith (19)
- # reagent (14)
- # reitit (12)
- # releases (4)
- # shadow-cljs (33)
- # tools-deps (3)
- # xtdb (3)
Has anyone figured out a way to turn java stacktraces to a nice list of namespaces/files? Why something like this:
at clojure.core$some.invoke(core.clj:2696)
can't be shown maybe something like:
clojure.core/some -- at src/clj/clojure/core.clj:2696
I refuse to believe there is no Emacs mode for thatmy guess is that @U04V15CAJ already asked himself something similar when implementing babashka:sweat_smile:
I think borkdude improved the exceptions for some cases, I remember he saying that somewhere
anyway, I don't think there is a emacs mode for that unfortunatelly :/ , a clojure lib that parses that would be really cool
yeah, anything would nice. I don't like staring into stacktraces (no one does), most of the time, instead, I choose to stare at the relevant code. But when something fails in CI, I look at them and I feel like this is exactly how "hating the job" and the burnout starts.
The stacktraces that babashka shows aren't real Java stacktraces but interpreter stacktraces. But I think the necessary information is in the stack frames to make it look like that in normal Clojure
Does Clojure on the JVM keep full paths to source files? I thought discarded the directories and only kept the final file name?
which if so, is at least one reason to use a variety of source file names, in particular avoiding core.clj in projects
hmm yeah it seems so. https://twitter.com/borkdude/status/1404016344245415939