calva

Max 2025-07-15T12:33:44.707519Z

Hey @pez any thoughts on https://github.com/BetterThanTomorrow/calva/issues/2872#issuecomment-3039587525? TIA!

pez 2025-07-15T14:29:25.649379Z

Not really. It could be something needs fixing in VS Code itself.

Max 2025-07-15T16:22:23.093529Z

Any chance of calva showing ex-data getting traction at some point? It's kind of my pain point of the day: https://github.com/BetterThanTomorrow/calva/issues/850

pez 2025-07-17T09:54:10.667519Z

I think it’s there, but we don’t print it because the command is “print stacktrace”. We can add a command for printing the data. I’ve never missed it myself because I just grab it from *ex if I need it.

Max 2025-07-17T13:06:08.673429Z

There’s some specific situations in which the exception doesn’t get assigned to *ex, like when the exception occurs in a test run via a Calva command

pez 2025-07-16T06:23:45.245889Z

Nobody is working on it, but there is no reason to not surface ex-data in some way.

pez 2025-07-22T09:53:29.678189Z

It may be something to confirm with an experiment: if the ex-data is there in the nrepl response for these specific situations.

Max 2025-07-22T13:24:53.059989Z

Good point. I’ve also noticed that calva renders a “show stack trace” button in those cases but clicking it doesn’t do anything

pez 2025-07-22T14:38:51.497699Z

Ah. You could file an issue about that observation.

Max 2025-07-22T14:39:21.665149Z

Will do

Max 2025-07-22T14:47:15.851109Z

https://github.com/BetterThanTomorrow/calva/issues/2900

❤️ 1
Max 2025-07-22T14:47:23.861739Z

nice round number 🙂

Max 2025-07-16T12:12:18.096789Z

Could you point me to where it would go in the code, and to where printing Clojure data structures happens? I might take a crack at if

pez 2025-07-16T19:31:21.812129Z

I think it could make sense to first look if this should be a feature of the output window. @brandon.ringe ?

bringe 2025-07-16T20:36:05.849349Z

Seems like it would be fairly easy to do. I don't know the details but I'm guessing either that ex-data is available in an nrepl message and Calva just isn't printing it, or we need to make the code retrieve it if it exists somehow, then print it.