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
Is your feature request related to a problem? Please describe.
I'm working with a big data structure, and when I have a spec assertion failure it hangs emacs and cider.
I'm assuming that it is because of the Value: section of the cider-error buffer that is way to large.
Describe the solution you'd like
Have an option to not print the Value section of the Spec assertion failed cider-error buffer, or hide the value row so that it is not printed, or limit it.
Or, make it work with the configured print-fn.
Describe alternatives you've considered
I've tried setting nrepl.middleware.print/print-fn to a custom fn, but it does not seem to have any effect on the stacktrace window.
I've tried setting nrepl.middleware.caugh/caught-fn to a custom fn, but it does not seem to have any effect on the stacktrace window.
Setting cider-show-error-buffer to nil solves the problem, but it means I dont get the cider error buffer anymore. This is what I'm currently doing.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
This seems related to clojure-emacs/cider-nrepl#609 I think it needs to be addressed in the stacktrace middleware, as we originally didn't account for such data appearing in the stackframes. //cc @cichli@jeffvalk
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
Is your feature request related to a problem? Please describe.
I'm working with a big data structure, and when I have a spec assertion failure it hangs emacs and cider.
I'm assuming that it is because of the Value: section of the cider-error buffer that is way to large.
Describe the solution you'd like
Have an option to not print the Value section of the Spec assertion failed cider-error buffer, or hide the value row so that it is not printed, or limit it.
Or, make it work with the configured print-fn.
Describe alternatives you've considered
Additional context
cider-version - CIDER 0.22.0snapshot
gives
cider-error buffer:
In the repl the following is printed:
When I increase range to 1000000 it just hangs emacs.
The text was updated successfully, but these errors were encountered: