Skip to content

Navigable inspected exceptions #227

Description

@vemv

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions