You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cider-inspector-inspect-last-exception is meant to inspect the exception of the current stacktrace, as stored in *e.
However *e can sometimes store a different exception. I experienced it the other day for a contrived scenario (hitting my server with clj-http from the server's repl - so an exception would be thrown both in the server, and the repl - both in the same JVM).
Most times things work as intended, but using a more accurate means than last would result in better reliability.
Worth noting that there's "analyze-last-stacktrace" and "analyze-stacktrace". I made the mistake of introducing a "inspect-last-exception op - should have been "inspect-exception" accepting an argument.
The text was updated successfully, but these errors were encountered:
I'll have to look into the issue at hand, but in general for me it makes a lot of sense to have analyze/inspect-last-* and analyze/inspect-*, as having to constantly select what to operate on is a bit time consuming. It should always be an option, but some shortcuts for common scenarios make sense.
cider-inspector-inspect-last-exception
is meant to inspect the exception of the current stacktrace, as stored in*e
.However
*e
can sometimes store a different exception. I experienced it the other day for a contrived scenario (hitting my server with clj-http from the server's repl - so an exception would be thrown both in the server, and the repl - both in the same JVM).Most times things work as intended, but using a more accurate means than
last
would result in better reliability.Worth noting that there's "analyze-last-stacktrace" and "analyze-stacktrace". I made the mistake of introducing a
"inspect-last-exception
op - should have been"inspect-exception"
accepting an argument.The text was updated successfully, but these errors were encountered: