orchard icon indicating copy to clipboard operation
orchard copied to clipboard

Navigable inspected exceptions

Open vemv opened this issue 5 months ago • 4 comments

Currently, if we're inspecting an Exception, we cannot directly navigate to the file/line of each element of the rendered stacktrace.

i.e., this stacktrace is just text atm:

image

Currently, a workaround is to d (cider-inspector-def-current-val) the inspected Exception, and then throw it in the repl. cider-stacktrace-analyze-in-region may also work.

I think that something very "inspector-like" would be to reify the stacktrace into something that also is navigable:

  • navigable cause chain
  • individual stacktraceelements rendered similarly to members of a vector
  • a keybinding / click action to open stacktraceelements as clojure buffer

vemv avatar Feb 25 '24 19:02 vemv